2013-09-20 23:05:58 +00:00
|
|
|
# Created by: Tom Rhodes <trhodes@FreeBSD.org>
|
2012-06-08 01:10:42 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fsc
|
2012-07-22 03:36:31 +00:00
|
|
|
PORTVERSION= 1.0.1
|
2013-06-03 16:32:24 +00:00
|
|
|
PORTREVISION= 2
|
2012-06-08 01:10:42 +00:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= LOCAL
|
|
|
|
MASTER_SITE_SUBDIR= trhodes
|
|
|
|
|
|
|
|
MAINTAINER= trhodes@FreeBSD.org
|
|
|
|
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
|
|
|
|
|
2013-09-20 23:05:58 +00:00
|
|
|
NO_STAGE= yes
|
2012-06-12 17:47:14 +00:00
|
|
|
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
|
|
|
|
|
2012-06-08 01:10:42 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fscadm/fscadm ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fscd/fscd ${PREFIX}/sbin
|
2012-06-12 17:47:14 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/fscd ${PREFIX}/etc/rc.d
|
2012-06-08 01:10:42 +00:00
|
|
|
${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
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|