aboutsummaryrefslogtreecommitdiff
path: root/misc/geekcode
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-02-11 16:45:54 +0000
committerClement Laforet <clement@FreeBSD.org>2004-02-11 16:45:54 +0000
commita139bc37e01b71297df00b47a7ed2706a4bbd183 (patch)
tree8f5b076400b7249685647a320b250fdb8392ac18 /misc/geekcode
parent10a2ee354620440b3e618983239da1e594826154 (diff)
downloadports-a139bc37e01b71297df00b47a7ed2706a4bbd183.tar.gz
ports-a139bc37e01b71297df00b47a7ed2706a4bbd183.zip
misc category cleanup part 4 of 6:
- Use DATADIR/DOCSDIR/PORTSDOC - make portlint happy PR: 61028 Submitted by: Vincent Tantardini <vinc@FreeBSD-fr.org> Updated/reworked by: me
Notes
Notes: svn path=/head/; revision=100688
Diffstat (limited to 'misc/geekcode')
-rw-r--r--misc/geekcode/Makefile4
-rw-r--r--misc/geekcode/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/misc/geekcode/Makefile b/misc/geekcode/Makefile
index 674b8341b163..e2e73630fb7d 100644
--- a/misc/geekcode/Makefile
+++ b/misc/geekcode/Makefile
@@ -17,8 +17,8 @@ COMMENT= A Geek Code Generator
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/geekcode ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/geekcode
- ${INSTALL_DATA} ${WRKSRC}/geekcode.txt ${PREFIX}/share/doc/geekcode
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/geekcode.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/misc/geekcode/pkg-plist b/misc/geekcode/pkg-plist
index f72b9dbd15a8..968a55e9447e 100644
--- a/misc/geekcode/pkg-plist
+++ b/misc/geekcode/pkg-plist
@@ -1,3 +1,3 @@
bin/geekcode
-share/doc/geekcode/geekcode.txt
-@dirrm share/doc/geekcode
+%%PORTDOCS%%%%DOCSDIR%%/geekcode.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%