ports/70214: [PATCH] graphics/metapixel: Install documentation

Ulrich Spoerlein q at uni.de
Mon Aug 9 14:50:21 UTC 2004


>Number:         70214
>Category:       ports
>Synopsis:       [PATCH] graphics/metapixel: Install documentation
>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:   Mon Aug 09 14:50:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD roadrunner 5.2-CURRENT FreeBSD 5.2-CURRENT #18: Tue Jul 13 22:32:09 CEST 2004
>Description:
This port is almost useless without it's documentation. Since the README is not
available online but in the distfile only, make sure to install it.

I also got rid of pkg-plist, since it is only 6 lines long. It's up to the
maintainer to decide, whether this is to be committed or not.

Port maintainer (daniel at roe.ch) is cc'd.
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- metapixel-0.9_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/metapixel/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile	6 May 2004 07:35:42 -0000	1.10
+++ Makefile	9 Aug 2004 14:45:27 -0000
@@ -6,6 +6,7 @@
 
 PORTNAME=	metapixel
 PORTVERSION=	0.9
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.complang.tuwien.ac.at/~schani/metapixel/ \
 		http://dragon.roe.ch/mirrors/distfiles/metapixel/
@@ -22,6 +23,10 @@
 MAKE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I." \
 		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
 
+PLIST_FILES=	bin/metapixel bin/metapixel-convert bin/metapixel-imagesize \
+		bin/metapixel-prepare bin/metapixel-sizesort bin/metapixel-zoom
+PORTDOCS=	README
+
 post-patch:
 	@${RM} ${WRKSRC}/getopt.h
 	@${MV} ${WRKSRC}/sizesort ${WRKSRC}/metapixel-sizesort
@@ -35,5 +40,9 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/metapixel-prepare ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/metapixel-sizesort ${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/metapixel-zoom ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/graphics/metapixel/pkg-plist,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-plist
--- pkg-plist	6 May 2004 07:35:42 -0000	1.3
+++ pkg-plist	9 Aug 2004 14:45:27 -0000
@@ -1,6 +0,0 @@
-bin/metapixel
-bin/metapixel-convert
-bin/metapixel-imagesize
-bin/metapixel-prepare
-bin/metapixel-sizesort
-bin/metapixel-zoom
--- metapixel-0.9_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list