ports/162842: Update port: graphics/fly

KATO Tsuguru tkato432 at yahoo.com
Thu Nov 24 18:20:22 UTC 2011


>Number:         162842
>Category:       ports
>Synopsis:       Update port: graphics/fly
>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 Nov 24 18:20:21 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support PORTDOCS/PORTEXAMPLES/PLIST_FILES

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/fly/Makefile graphics/fly/Makefile
--- /usr/ports/graphics/fly/Makefile	2011-04-27 16:29:51.000000000 +0900
+++ graphics/fly/Makefile	2011-09-09 04:11:24.000000000 +0900
@@ -9,16 +9,18 @@
 PORTVERSION=	2.0.1
 PORTREVISION=	3
 CATEGORIES=	graphics
-MASTER_SITES=	http://martin.gleeson.com/%SUBDIR%/ \
-		http://members.optushome.com.au/martingleeson/%SUBDIR%/ \
-		http://www.w3perl.com/%SUBDIR%/
-MASTER_SITE_SUBDIR=	${PORTNAME}/dist
+MASTER_SITES=	http://fossies.org/unix/www/ \
+		http://martin.gleeson.com/fly/dist/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Simple drawing language to generate GIFs on the fly
 
 LIB_DEPENDS=	gd.4:${PORTSDIR}/graphics/gd
 
+PORTDOCS=	*
+PORTEXAMPLES=	*
+PLIST_FILES=	bin/fly
+
 do-build:
 	cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include fly.c -o fly \
 		-L${LOCALBASE}/lib -lgd
@@ -27,13 +29,11 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/fly ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC}/doc && ${FIND} . | \
-		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
+	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
 .endif
 .if !defined(NOPORTEXAMPLES)
 	@${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC}/examples && ${FIND} . | \
-		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/fly/pkg-plist graphics/fly/pkg-plist
--- /usr/ports/graphics/fly/pkg-plist	2009-06-23 01:38:46.000000000 +0900
+++ graphics/fly/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,53 +0,0 @@
-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%%%%DOCSDIR%%/Y2K.html
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.csh
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gif/small-end.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gif/small.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jpeg/small-end.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jpeg/small.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jpeg/test.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/cgi-perl-example.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/fly-tester.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/perl.example
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/size.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/1.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/2.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/3.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/4.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/5.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/6.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/7.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/8.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/9.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/small-end.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/small.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/small2.fly
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/png/test.fly
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/png
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/perl
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/jpeg
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/gif
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list