mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -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
|
LIB_DEPENDS= event-1:${PORTSDIR}/devel/libevent
|
||||||
|
|
||||||
MAN5= ifstated.conf.5
|
|
||||||
MAN8= ifstated.8
|
|
||||||
|
|
||||||
PLIST_FILES= etc/ifstated.conf-sample \
|
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
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
USE_RC_SUBR= ifstated
|
USE_RC_SUBR= ifstated
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Makefile
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Makefile
|
||||||
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/ifstated.conf.5
|
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/ifstated.conf.5
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/ifstated ${PREFIX}/sbin
|
${INSTALL_PROGRAM} ${WRKSRC}/ifstated ${STAGEDIR}${PREFIX}/sbin
|
||||||
${INSTALL_DATA} ${WRKSRC}/ifstated.conf-sample ${PREFIX}/etc
|
${INSTALL_DATA} ${WRKSRC}/ifstated.conf-sample ${STAGEDIR}${PREFIX}/etc
|
||||||
${INSTALL_MAN} ${WRKSRC}/ifstated.conf.5 ${PREFIX}/man/man5
|
${INSTALL_MAN} ${WRKSRC}/ifstated.conf.5 ${STAGEDIR}${PREFIX}/man/man5
|
||||||
${INSTALL_MAN} ${WRKSRC}/ifstated.8 ${PREFIX}/man/man8
|
${INSTALL_MAN} ${WRKSRC}/ifstated.8 ${STAGEDIR}${PREFIX}/man/man8
|
||||||
|
|
||||||
post-install:
|
|
||||||
@${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue