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:
parent
593db95fa0
commit
7eaf6ab880
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340270
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user