diff options
author | mm <mm@FreeBSD.org> | 2014-01-19 20:19:25 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2014-01-19 20:19:25 +0800 |
commit | ceea2f4d29016623d92b2a2fcacd58e276249974 (patch) | |
tree | 4a50b701e3514c94f137994097f0fd6eb8fc89f3 | |
parent | 630a8be57b7157b1205ddce6002e7a8c180fb4da (diff) | |
download | freebsd-ports-gnome-ceea2f4d29016623d92b2a2fcacd58e276249974.tar.gz freebsd-ports-gnome-ceea2f4d29016623d92b2a2fcacd58e276249974.tar.zst freebsd-ports-gnome-ceea2f4d29016623d92b2a2fcacd58e276249974.zip |
Fix pkg-plist for relayd
-rw-r--r-- | net/relayd/Makefile | 3 | ||||
-rw-r--r-- | net/relayd/pkg-plist | 1 |
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 |