mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Stage support
This commit is contained in:
parent
56c42f611a
commit
521fa49431
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342935
1 changed files with 8 additions and 12 deletions
|
@ -12,27 +12,23 @@ COMMENT= Interface state daemon
|
|||
|
||||
LIB_DEPENDS= event-1:${PORTSDIR}/devel/libevent
|
||||
|
||||
MAN5= ifstated.conf.5
|
||||
MAN8= ifstated.8
|
||||
|
||||
PLIST_FILES= etc/ifstated.conf-sample \
|
||||
sbin/ifstated
|
||||
sbin/ifstated \
|
||||
man/man5/ifstated.conf.5.gz \
|
||||
man/man8/ifstated.8.gz
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
USE_RC_SUBR= ifstated
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/ifstated.conf.5
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ifstated ${PREFIX}/sbin
|
||||
${INSTALL_DATA} ${WRKSRC}/ifstated.conf-sample ${PREFIX}/etc
|
||||
${INSTALL_MAN} ${WRKSRC}/ifstated.conf.5 ${PREFIX}/man/man5
|
||||
${INSTALL_MAN} ${WRKSRC}/ifstated.8 ${PREFIX}/man/man8
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ifstated ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_DATA} ${WRKSRC}/ifstated.conf-sample ${STAGEDIR}${PREFIX}/etc
|
||||
${INSTALL_MAN} ${WRKSRC}/ifstated.conf.5 ${STAGEDIR}${PREFIX}/man/man5
|
||||
${INSTALL_MAN} ${WRKSRC}/ifstated.8 ${STAGEDIR}${PREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue