286a33dffe
PR: 237581 Submitted by: olevole at olevole dot ru
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# Created by: Tom Rhodes <trhodes@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fsc
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= FreeBSD Services Control family of utilities
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
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
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= bsdtrhodes
|
|
GH_PROJECT= freebsd-fscd
|
|
GH_TAGNAME= ac80298
|
|
|
|
post-patch:
|
|
@${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 ${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>
|