1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

Add STAGE support to net/relayd

This commit is contained in:
Martin Matuska 2014-01-19 12:07:21 +00:00
parent 593db95fa0
commit 7eaf6ab880
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340270

View File

@ -30,7 +30,6 @@ GROUPS= _relayd
OPTIONS_DEFINE= LIBEVENT_STATIC
LIBEVENT_STATIC_DESC= Build with static libevent
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MLIBEVENT_STATIC}
@ -54,8 +53,9 @@ post-patch:
post-install:
@${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \
${PREFIX}/etc/relayd.conf.sample
@${CP} -n ${PREFIX}/etc/relayd.conf.sample \
${PREFIX}/etc/relayd.conf || ${TRUE}
${STAGEDIR}${PREFIX}/etc/relayd.conf.sample
@${CP} -n ${STAGEDIR}${PREFIX}/etc/relayd.conf.sample \
${STAGEDIR}${PREFIX}/etc/relayd.conf || ${TRUE}
.include <bsd.port.post.mk>