aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2004-03-18 02:10:58 +0000
committerDon Lewis <truckman@FreeBSD.org>2004-03-18 02:10:58 +0000
commit2baae7dc74a0b35babf8b43813d7569e06812467 (patch)
treefe93845218b2f080cc43b7cf77ba9c596c77ee08
parenta065d1ce5d7f69b39c4b2f47ad16eec818a7c8d9 (diff)
downloadports-2baae7dc74a0b35babf8b43813d7569e06812467.tar.gz
ports-2baae7dc74a0b35babf8b43813d7569e06812467.zip
Notes
-rw-r--r--security/chrootuid/Makefile11
-rw-r--r--security/chrootuid/pkg-plist6
2 files changed, 8 insertions, 9 deletions
diff --git a/security/chrootuid/Makefile b/security/chrootuid/Makefile
index 33e4327620b7..ef055825b4bb 100644
--- a/security/chrootuid/Makefile
+++ b/security/chrootuid/Makefile
@@ -19,12 +19,11 @@ MAN8= chrootuid.8
do-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/chrootuid
- ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/chrootuid
- ${INSTALL_MAN} ${WRKSRC}/chrootuid_license ${PREFIX}/share/doc/chrootuid
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/chrootuid_license ${DOCSDIR}
.endif
- ${INSTALL_PROGRAM} ${WRKSRC}/chrootuid ${PREFIX}/sbin/chrootuid
- ${CP} ${WRKSRC}/chrootuid.1 ${WRKSRC}/chrootuid.8
- ${INSTALL_MAN} ${WRKSRC}/${MAN8} ${PREFIX}/man/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/chrootuid ${PREFIX}/sbin/
+ ${INSTALL_MAN} ${WRKSRC}/chrootuid.1 ${PREFIX}/man/man8/${MAN8}
.include <bsd.port.mk>
diff --git a/security/chrootuid/pkg-plist b/security/chrootuid/pkg-plist
index fcf1e467a665..f640f7912d53 100644
--- a/security/chrootuid/pkg-plist
+++ b/security/chrootuid/pkg-plist
@@ -1,4 +1,4 @@
sbin/chrootuid
-share/doc/chrootuid/README
-share/doc/chrootuid/chrootuid_license
-@dirrm share/doc/chrootuid
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/chrootuid_license
+@dirrm %%DOCSDIR%%