ports/85877: Update port: graphics/fly to 2.0.0
KATO Tsuguru
tkato432 at yahoo.com
Thu Sep 8 17:10:19 UTC 2005
>Number: 85877
>Category: ports
>Synopsis: Update port: graphics/fly to 2.0.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 08 17:10:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p12 i386
>Organization:
>Environment:
>Description:
- Update to version 2.0.0
New file:
pkg-plist
Remove file:
files/patch-Makefile
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/fly/Makefile graphics/fly/Makefile
--- /usr/ports/graphics/fly/Makefile Sat Feb 19 23:00:21 2005
+++ graphics/fly/Makefile Sun Sep 4 00:19:54 2005
@@ -6,20 +6,30 @@
#
PORTNAME= fly
-PORTVERSION= 1.6.5
+PORTVERSION= 2.0.0
CATEGORIES= graphics
-MASTER_SITES= http://members.optushome.com.au/martingleeson/fly/dist/
+MASTER_SITES= http://members.optushome.com.au/martingleeson/%SUBDIR%/ \
+ http://martin.gleeson.com/%SUBDIR%/
+MASTER_SITE_SUBDIR= ${PORTNAME}/dist
MAINTAINER= ports at FreeBSD.org
COMMENT= Simple drawing language to generate GIFs on the fly
-#this doesn't matter.. the program builds its own libgd.a.
-#BUILD_DEPENDS= ${PREFIX}/lib/libgd\.a #can't use ports' gd..
+LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
-MAKE_ENV= PREFIX="${PREFIX}"
-PLIST_FILES= bin/fly
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include fly.c -o fly \
+ -L${LOCALBASE}/lib -lgd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fly ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}/doc && ${FIND} . | \
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ cd ${WRKSRC}/examples && ${FIND} . | \
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
+.endif
.include <bsd.port.mk>
diff -urN /usr/ports/graphics/fly/distinfo graphics/fly/distinfo
--- /usr/ports/graphics/fly/distinfo Fri Mar 19 18:08:56 2004
+++ graphics/fly/distinfo Sun Sep 4 00:14:24 2005
@@ -1,2 +1,2 @@
-MD5 (fly-1.6.5.tar.gz) = b96a2a6c566f284923d37f16b64aafec
-SIZE (fly-1.6.5.tar.gz) = 127349
+MD5 (fly-2.0.0.tar.gz) = b5efc8435a76ba2b2c592156ec5db4e2
+SIZE (fly-2.0.0.tar.gz) = 46622
diff -urN /usr/ports/graphics/fly/files/patch-Makefile graphics/fly/files/patch-Makefile
--- /usr/ports/graphics/fly/files/patch-Makefile Thu Oct 23 08:54:00 2003
+++ graphics/fly/files/patch-Makefile Thu Jan 1 09:00:00 1970
@@ -1,22 +0,0 @@
---- Makefile.orig Wed Oct 22 16:52:11 2003
-+++ Makefile Wed Oct 22 16:53:04 2003
-@@ -5,15 +5,16 @@
- # following line
- # GD = /path/to/gd/directory
- GD = gd1.3
-- CC = gcc
-- CFLAGS = -O -I$(GD)
-+ CC ?= cc
-+ CFLAGS ?= -O -pipe
-+ CFLAGS += -I$(GD)
- #CFLAGS = -O -pedantic -Wall -I$(GD)
- LIBS = -L$(GD) -lgd -lm
-
- all: gd fly
-
- gd: $(GD)
-- cd $(GD); make CC=$(CC)
-+ cd $(GD); make CC="$(CC)" CFLAGS="$(CFLAGS)"
-
-
- fly.o: fly.c fly.h
diff -urN /usr/ports/graphics/fly/pkg-descr graphics/fly/pkg-descr
--- /usr/ports/graphics/fly/pkg-descr Fri May 7 04:09:51 1999
+++ graphics/fly/pkg-descr Sun Sep 4 00:27:00 2005
@@ -1,4 +1,5 @@
-fly is a tool to interpret simple drawing commands and generate
-an GIF as the result.
+fly is a C program that creates PNG, JPEG or GIF images on the fly from
+CGI and other programs. Using GD graphics library for fast image creation,
+it provides a command-file interface for creating and modifying images.
-WWW: http://www.unimelb.edu.au/fly/fly.html
+WWW: http://martin.gleeson.com/fly/
diff -urN /usr/ports/graphics/fly/pkg-plist graphics/fly/pkg-plist
--- /usr/ports/graphics/fly/pkg-plist Thu Jan 1 09:00:00 1970
+++ graphics/fly/pkg-plist Sun Sep 4 00:23:07 2005
@@ -0,0 +1,51 @@
+bin/fly
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
+%%PORTDOCS%%%%DOCSDIR%%/copyright.html
+%%PORTDOCS%%%%DOCSDIR%%/documentation.html
+%%PORTDOCS%%%%DOCSDIR%%/example.gif
+%%PORTDOCS%%%%DOCSDIR%%/examples.html
+%%PORTDOCS%%%%DOCSDIR%%/feedback.html
+%%PORTDOCS%%%%DOCSDIR%%/flag-au.gif
+%%PORTDOCS%%%%DOCSDIR%%/flag-jp.gif
+%%PORTDOCS%%%%DOCSDIR%%/flag-us.gif
+%%PORTDOCS%%%%DOCSDIR%%/fly-logo.gif
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/installation.html
+%%PORTDOCS%%%%DOCSDIR%%/nav-copyright.gif
+%%PORTDOCS%%%%DOCSDIR%%/nav-docs.gif
+%%PORTDOCS%%%%DOCSDIR%%/nav-feedback.gif
+%%PORTDOCS%%%%DOCSDIR%%/nav-home.gif
+%%PORTDOCS%%%%DOCSDIR%%/new.gif
+%%PORTDOCS%%%%DOCSDIR%%/outthere.html
+%%PORTDOCS%%%%DOCSDIR%%/release-notes.html
+%%PORTDOCS%%%%DOCSDIR%%/style.css
+%%PORTDOCS%%%%DOCSDIR%%/using.html
+%%PORTDOCS%%%%DOCSDIR%%/valid_html.gif
+%%PORTDOCS%%%%EXAMPLESDIR%%/example.csh
+%%PORTDOCS%%%%EXAMPLESDIR%%/gif/small-end.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/gif/small.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/jpeg/small-end.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/jpeg/small.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/jpeg/test.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/perl/cgi-perl-example.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/perl/fly-tester.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/perl/perl.example
+%%PORTDOCS%%%%EXAMPLESDIR%%/perl/size.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/1.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/2.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/3.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/4.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/5.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/6.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/7.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/8.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/9.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/small-end.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/small.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/small2.fly
+%%PORTDOCS%%%%EXAMPLESDIR%%/png/test.fly
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/png
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/perl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/jpeg
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gif
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list