aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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