diff options
Diffstat (limited to 'sysutils/fsc/Makefile')
-rw-r--r-- | sysutils/fsc/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/fsc/Makefile b/sysutils/fsc/Makefile index ed0c5f6d8025..77dacf459000 100644 --- a/sysutils/fsc/Makefile +++ b/sysutils/fsc/Makefile @@ -8,6 +8,7 @@ PORTNAME= fsc PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= LOCAL MASTER_SITE_SUBDIR= trhodes @@ -24,10 +25,17 @@ PLIST_FILES= bin/fscadm \ man/man8/fscadm.8.gz \ man/man8/fscd.8.gz +post-patch: + @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \ + ${WRKSRC}/rc.d/fscd + @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \ + ${WRKSRC}/fscd/fscd.8 ${WRKSRC}/fscd/fscd.c \ + ${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_DATA} ${WRKSRC}/rc.d/fscd ${PREFIX}/etc/rc.d + ${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 |