aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-23 14:10:04 +0800
committerbapt <bapt@FreeBSD.org>2013-09-23 14:10:04 +0800
commit3a6dce28a6702530de3d862c3852a639dfc7ae2a (patch)
tree2039b38e35e3f5c551364c94471b5e8b588ecee5
parent072a20933e2d04d068a5cccefa9b03f6589a1f2e (diff)
downloadfreebsd-ports-gnome-3a6dce28a6702530de3d862c3852a639dfc7ae2a.tar.gz
freebsd-ports-gnome-3a6dce28a6702530de3d862c3852a639dfc7ae2a.tar.zst
freebsd-ports-gnome-3a6dce28a6702530de3d862c3852a639dfc7ae2a.zip
Use stage, modernize lib_depends
-rw-r--r--graphics/libpuzzle/Makefile16
-rw-r--r--graphics/libpuzzle/pkg-plist3
2 files changed, 7 insertions, 12 deletions
diff --git a/graphics/libpuzzle/Makefile b/graphics/libpuzzle/Makefile
index a1aa8c64737d..deb4bd279106 100644
--- a/graphics/libpuzzle/Makefile
+++ b/graphics/libpuzzle/Makefile
@@ -11,28 +11,20 @@ COMMENT= Library to find similar pictures
LICENSE= BSD
-LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-PORTDOCS= AUTHORS COPYING NEWS README THANKS
+PORTDOCS= AUTHORS NEWS README THANKS
-MAN3= libpuzzle.3 puzzle_set.3
-MAN8= puzzle-diff.8
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/THANKS ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/graphics/libpuzzle/pkg-plist b/graphics/libpuzzle/pkg-plist
index f1aa20cbd47d..35a91041762e 100644
--- a/graphics/libpuzzle/pkg-plist
+++ b/graphics/libpuzzle/pkg-plist
@@ -4,3 +4,6 @@ lib/libpuzzle.a
lib/libpuzzle.la
lib/libpuzzle.so
lib/libpuzzle.so.1
+man/man3/libpuzzle.3.gz
+man/man3/puzzle_set.3.gz
+man/man8/puzzle-diff.8.gz