mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
1: Stagify.
2: use @sample on pkg-plist. Approved by: portmgr@
This commit is contained in:
parent
b84d787a29
commit
df889932d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358902
@ -10,21 +10,13 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:DEFAULT,freebsd
|
||||
MAINTAINER= spe@phear.org
|
||||
COMMENT= This a VRRP RFC2338 Compliant implementation under FreeBSD
|
||||
|
||||
MAN8= freevrrpd.8
|
||||
|
||||
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/freevrrpd ${PREFIX}/sbin
|
||||
@${INSTALL_DATA} ${WRKSRC}/freevrrpd.conf.sample ${PREFIX}/etc
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/rc.d/freevrrpd ${PREFIX}/etc/rc.d
|
||||
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
|
||||
|
||||
post-install:
|
||||
@${ECHO} ''
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO} ''
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/freevrrpd ${STAGEDIR}${PREFIX}/sbin
|
||||
@${INSTALL_DATA} ${WRKSRC}/freevrrpd.conf.sample ${STAGEDIR}${PREFIX}/etc
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/rc.d/freevrrpd ${STAGEDIR}${PREFIX}/etc/rc.d
|
||||
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@unexec if cmp -s %D/etc/freevrrpd.conf %D/etc/freevrrpd.conf.sample; then rm -f %D/etc/freevrrpd.conf; fi
|
||||
etc/freevrrpd.conf.sample
|
||||
@sample etc/freevrrpd.conf.sample
|
||||
etc/rc.d/freevrrpd
|
||||
man/man8/freevrrpd.8.gz
|
||||
sbin/freevrrpd
|
||||
|
Loading…
Reference in New Issue
Block a user