aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-08-28 00:31:26 +0800
committervs <vs@FreeBSD.org>2004-08-28 00:31:26 +0800
commit0f5019f5ac046a5b3aedd6d1dde38b9f3cda27ef (patch)
treeb5c9b349b83cb0926558d6d5dda8cb92bd276f92 /graphics
parente5fdd30223d766e8b32f08be6d100812eb07889e (diff)
downloadfreebsd-ports-gnome-0f5019f5ac046a5b3aedd6d1dde38b9f3cda27ef.tar.gz
freebsd-ports-gnome-0f5019f5ac046a5b3aedd6d1dde38b9f3cda27ef.tar.zst
freebsd-ports-gnome-0f5019f5ac046a5b3aedd6d1dde38b9f3cda27ef.zip
- Install documentation
- Use PLIST_FILES PR: ports/70214 Submitted by: Ulrich Spoerlein Approved by: maintainer
Diffstat (limited to 'graphics')
-rw-r--r--graphics/metapixel/Makefile9
-rw-r--r--graphics/metapixel/pkg-plist6
2 files changed, 9 insertions, 6 deletions
diff --git a/graphics/metapixel/Makefile b/graphics/metapixel/Makefile
index 45e4ccfda11c..0072824167b4 100644
--- a/graphics/metapixel/Makefile
+++ b/graphics/metapixel/Makefile
@@ -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 @@ USE_REINPLACE= yes
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 @@ do-install:
${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>
diff --git a/graphics/metapixel/pkg-plist b/graphics/metapixel/pkg-plist
deleted file mode 100644
index a0253ba93552..000000000000
--- a/graphics/metapixel/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/metapixel
-bin/metapixel-convert
-bin/metapixel-imagesize
-bin/metapixel-prepare
-bin/metapixel-sizesort
-bin/metapixel-zoom