aboutsummaryrefslogtreecommitdiff
path: root/net/relayd
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2014-01-19 12:19:25 +0000
committerMartin Matuska <mm@FreeBSD.org>2014-01-19 12:19:25 +0000
commit76e8d4b417cde70a6b43b9ea02032ee1d39598d9 (patch)
tree4a50b701e3514c94f137994097f0fd6eb8fc89f3 /net/relayd
parent7eaf6ab88043e30f7af76a903fce695dc11ee1b3 (diff)
downloadports-76e8d4b417cde70a6b43b9ea02032ee1d39598d9.tar.gz
ports-76e8d4b417cde70a6b43b9ea02032ee1d39598d9.zip
Notes
Diffstat (limited to 'net/relayd')
-rw-r--r--net/relayd/Makefile3
-rw-r--r--net/relayd/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/net/relayd/Makefile b/net/relayd/Makefile
index a973d0498026..46e3deb24dc7 100644
--- a/net/relayd/Makefile
+++ b/net/relayd/Makefile
@@ -2,6 +2,7 @@
PORTNAME= relayd
PORTVERSION= 5.4.20131122
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= GH
@@ -54,7 +55,7 @@ post-patch:
post-install:
@${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \
${STAGEDIR}${PREFIX}/etc/relayd.conf.sample
- @${CP} -n ${STAGEDIR}${PREFIX}/etc/relayd.conf.sample \
+ @${CP} -n ${WRKSRC}/../etc/relayd.conf \
${STAGEDIR}${PREFIX}/etc/relayd.conf || ${TRUE}
.include <bsd.port.post.mk>
diff --git a/net/relayd/pkg-plist b/net/relayd/pkg-plist
index d0cce47cf6c3..d7432456dae3 100644
--- a/net/relayd/pkg-plist
+++ b/net/relayd/pkg-plist
@@ -1,4 +1,5 @@
@unexec if cmp -s %D/etc/relayd.conf %D/etc/relayd.conf.sample; then rm -f %D/etc/relayd.conf; fi
etc/relayd.conf.sample
+@exec cp -n %B/%f %B/relayd.conf
sbin/relayctl
sbin/relayd