aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-10-20 18:39:17 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-10-20 18:39:17 +0000
commit71ca1ef155f7e221d035157a02ed270cc483472f (patch)
treeb5c587dc9b63753e962eb83cee7862dfeaa26e88 /security
parentfe525125e463c6372fcb3c42f74c90a075ed81b5 (diff)
downloadports-71ca1ef155f7e221d035157a02ed270cc483472f.tar.gz
ports-71ca1ef155f7e221d035157a02ed270cc483472f.zip
- Convert to staging
Approved by: crees (maintainer)
Notes
Notes: svn path=/head/; revision=331051
Diffstat (limited to 'security')
-rw-r--r--security/cfs/Makefile22
-rw-r--r--security/cfs/pkg-plist8
2 files changed, 17 insertions, 13 deletions
diff --git a/security/cfs/Makefile b/security/cfs/Makefile
index a920ec2f4471..4d20feb8d2f6 100644
--- a/security/cfs/Makefile
+++ b/security/cfs/Makefile
@@ -11,8 +11,6 @@ COMMENT= A cryptographic file system implemented as a user-space NFS server
ALL_TARGET= cfs
MAKE_ARGS= CC=cc
-MAN1= cattach.1 cdetach.1 cmkdir.1 cpasswd.1 cfssh.1
-MAN8= ccat.8 cfsd.8 cname.8
CFSD_BOOTSTRAP= ${PREFIX}/cfsd-bootstrap
USE_RC_SUBR= cfsd
@@ -20,20 +18,18 @@ SUB_FILES= pkg-message
SUB_LIST= CFSD_BOOTSTRAP=${CFSD_BOOTSTRAP}
PLIST_SUB= CFSD_BOOTSTRAP=${CFSD_BOOTSTRAP}
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} 's/^\.TH SSH/.TH CFSSH/' ${WRKSRC}/cfssh.1
do-install:
- @cd ${WRKSRC}; \
- ${INSTALL_PROGRAM} ccat cfsd cname ${PREFIX}/sbin; \
- ${INSTALL_PROGRAM} cattach cdetach cmkdir cpasswd ${PREFIX}/bin; \
- ${INSTALL_SCRIPT} cfssh ${PREFIX}/bin/cfssh; \
- ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1; \
- ${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8; \
- ${MKDIR} ${PREFIX}/share/doc/cfs; \
- ${INSTALL_DATA} README.install notes.ms ${PREFIX}/share/doc/cfs
- ${INSTALL} -d ${_BINOWNGRP} -m 0 ${CFSD_BOOTSTRAP}
- @${CAT} ${PKGMESSAGE}
+ cd ${WRKSRC}; \
+ ${INSTALL_PROGRAM} ccat cfsd cname ${STAGEDIR}${PREFIX}/sbin; \
+ ${INSTALL_PROGRAM} cattach cdetach cmkdir cpasswd ${STAGEDIR}${PREFIX}/bin; \
+ ${INSTALL_SCRIPT} cfssh ${STAGEDIR}${PREFIX}/bin/cfssh; \
+ ${INSTALL_MAN} cattach.1 cdetach.1 cmkdir.1 cpasswd.1 cfssh.1 ${STAGEDIR}${PREFIX}/man/man1; \
+ ${INSTALL_MAN} ccat.8 cfsd.8 cname.8 ${STAGEDIR}${PREFIX}/man/man8; \
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/cfs; \
+ ${INSTALL_DATA} README.install notes.ms ${STAGEDIR}${PREFIX}/share/doc/cfs
+ ${INSTALL} -d -m 0 ${STAGEDIR}${CFSD_BOOTSTRAP}
.include <bsd.port.mk>
diff --git a/security/cfs/pkg-plist b/security/cfs/pkg-plist
index b32516fed14c..a3f5e0a9d81f 100644
--- a/security/cfs/pkg-plist
+++ b/security/cfs/pkg-plist
@@ -8,6 +8,14 @@ sbin/cfsd
sbin/cname
share/doc/cfs/README.install
share/doc/cfs/notes.ms
+man/man1/cattach.1.gz
+man/man1/cdetach.1.gz
+man/man1/cmkdir.1.gz
+man/man1/cpasswd.1.gz
+man/man1/cfssh.1.gz
+man/man8/ccat.8.gz
+man/man8/cfsd.8.gz
+man/man8/cname.8.gz
@exec install -d -o root -g wheel -m 0 %%CFSD_BOOTSTRAP%% 2>/dev/null || true
@unexec rmdir %%CFSD_BOOTSTRAP%% 2>/dev/null || true
@dirrm share/doc/cfs