1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-25 13:36:22 +00:00
parent e0e54afe5d
commit fed677f59e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345996

View File

@ -13,14 +13,9 @@ COMMENT= The FreeBSD Services Control family of utilties.
WRKSRC= ${WRKDIR}/fsc
PLIST_FILES= bin/fscadm \
sbin/fscd \
etc/rc.d/fscd \
man/man5/fscd.conf.5.gz \
man/man8/fscadm.8.gz \
man/man8/fscd.8.gz
PLIST_FILES= bin/fscadm sbin/fscd etc/rc.d/fscd man/man5/fscd.conf.5.gz \
man/man8/fscadm.8.gz man/man8/fscd.8.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
${WRKSRC}/rc.d/fscd
@ -29,11 +24,14 @@ post-patch:
${WRKSRC}/fscd/fscd.conf.5 ${WRKSRC}/fscadm/fscadm.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fscadm/fscadm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/fscd/fscd ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/fscd ${PREFIX}/etc/rc.d
${INSTALL_DATA} ${WRKSRC}/fscd/fscd.conf.5.gz ${PREFIX}/man/man5
${INSTALL_DATA} ${WRKSRC}/fscd/fscd.8.gz ${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/fscadm/fscadm.8.gz ${PREFIX}/man/man8
${INSTALL_PROGRAM} ${WRKSRC}/fscadm/fscadm ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/fscd/fscd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/fscd ${STAGEDIR}${PREFIX}/etc/rc.d
${INSTALL_DATA} ${WRKSRC}/fscd/fscd.conf.5.gz \
${STAGEDIR}${MANPREFIX}/man/man5
${INSTALL_DATA} ${WRKSRC}/fscd/fscd.8.gz \
${STAGEDIR}${MANPREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/fscadm/fscadm.8.gz \
${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>