mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
35 lines
1.0 KiB
Makefile
35 lines
1.0 KiB
Makefile
# Created by: Tom Rhodes <trhodes@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fsc
|
|
PORTVERSION= 1.0.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= LOCAL/trhodes
|
|
|
|
MAINTAINER= trhodes@FreeBSD.org
|
|
COMMENT= The FreeBSD Services Control family of utilities
|
|
|
|
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
|
|
|
|
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>
|