aboutsummaryrefslogtreecommitdiffstats
path: root/security/cfs
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-10-21 02:39:17 +0800
committereadler <eadler@FreeBSD.org>2013-10-21 02:39:17 +0800
commit82dabcdaa917657a8f5b0442f7a31a2fb0db2665 (patch)
treeb5c587dc9b63753e962eb83cee7862dfeaa26e88 /security/cfs
parentb1a086e61a2ee617feb004190aef431d333c2c08 (diff)
downloadfreebsd-ports-gnome-82dabcdaa917657a8f5b0442f7a31a2fb0db2665.tar.gz
freebsd-ports-gnome-82dabcdaa917657a8f5b0442f7a31a2fb0db2665.tar.zst
freebsd-ports-gnome-82dabcdaa917657a8f5b0442f7a31a2fb0db2665.zip
- Convert to staging
Approved by: crees (maintainer)
Diffstat (limited to 'security/cfs')
-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