aboutsummaryrefslogtreecommitdiff
path: root/misc/geekcode
diff options
context:
space:
mode:
Diffstat (limited to 'misc/geekcode')
-rw-r--r--misc/geekcode/Makefile8
-rw-r--r--misc/geekcode/pkg-plist2
2 files changed, 8 insertions, 2 deletions
diff --git a/misc/geekcode/Makefile b/misc/geekcode/Makefile
index d2a67e4f13d0..43292d670272 100644
--- a/misc/geekcode/Makefile
+++ b/misc/geekcode/Makefile
@@ -9,11 +9,15 @@
DISTNAME= geekcode-1.7
CATEGORIES= misc
MASTER_SITES= http://seymour.lazygenes.net/ \
- http://www.zort.on.ca/software
+ http://www.zort.on.ca/software/
MAINTAINER= cpiazza@FreeBSD.org
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/geekcode ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/geekcode ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/geekcode
+ ${INSTALL_DATA} ${WRKSRC}/geekcode.txt ${PREFIX}/share/doc/geekcode
+.endif
.include <bsd.port.mk>
diff --git a/misc/geekcode/pkg-plist b/misc/geekcode/pkg-plist
index 56dc6cce6d3b..f72b9dbd15a8 100644
--- a/misc/geekcode/pkg-plist
+++ b/misc/geekcode/pkg-plist
@@ -1 +1,3 @@
bin/geekcode
+share/doc/geekcode/geekcode.txt
+@dirrm share/doc/geekcode