aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2008-11-06 19:03:49 +0800
committerjadawin <jadawin@FreeBSD.org>2008-11-06 19:03:49 +0800
commitdd38ae24baced017c3b07fffce6446c0fff76b99 (patch)
tree9c2f17e5bf95c996c8fe1181f16e856779932200 /security
parent5375cba17ca8e2b03122912f2d14dd5980072a8b (diff)
downloadfreebsd-ports-graphics-dd38ae24baced017c3b07fffce6446c0fff76b99.tar.gz
freebsd-ports-graphics-dd38ae24baced017c3b07fffce6446c0fff76b99.tar.zst
freebsd-ports-graphics-dd38ae24baced017c3b07fffce6446c0fff76b99.zip
- Respect NOPORTDOCS.
Noticed by: QAT
Diffstat (limited to 'security')
-rw-r--r--security/keyprint/Makefile5
-rw-r--r--security/keyprint/pkg-plist1
2 files changed, 4 insertions, 2 deletions
diff --git a/security/keyprint/Makefile b/security/keyprint/Makefile
index ab92bfa2ece..4fc685f495d 100644
--- a/security/keyprint/Makefile
+++ b/security/keyprint/Makefile
@@ -16,6 +16,8 @@ COMMENT= Print S/Key keys on a piece of paper, twice the size of a credit card
NO_BUILD= yes
+PORTDOCS= README
+
post-patch:
${REINPLACE_CMD} -e 's,__PREFIX__,${PREFIX},' ${WRKSRC}/keyprint
@@ -24,7 +26,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/keyblank.ps ${PREFIX}/share/keyprint
${INSTALL_SCRIPT} ${WRKSRC}/keyprint ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/keyprint
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/security/keyprint/pkg-plist b/security/keyprint/pkg-plist
index 8c721589ccc..d34c6018150 100644
--- a/security/keyprint/pkg-plist
+++ b/security/keyprint/pkg-plist
@@ -1,4 +1,3 @@
bin/keyprint
-share/keyprint/README
share/keyprint/keyblank.ps
@dirrm share/keyprint