diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-02 08:39:20 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-02 08:39:20 +0800 |
commit | 3dabb32509afe85afee27212718c91c027bbdf86 (patch) | |
tree | 21ae46c7a8eda946f19f4cbc30b6a199b832b04c /net-mgmt | |
parent | 90fda8e1c2eaa742dcd05a157857b64ad7b433f2 (diff) | |
download | freebsd-ports-gnome-3dabb32509afe85afee27212718c91c027bbdf86.tar.gz freebsd-ports-gnome-3dabb32509afe85afee27212718c91c027bbdf86.tar.zst freebsd-ports-gnome-3dabb32509afe85afee27212718c91c027bbdf86.zip |
- Add LICENSE_FILE
- Switch to @sample
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/rotorouter/Makefile | 6 | ||||
-rw-r--r-- | net-mgmt/rotorouter/pkg-plist | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/net-mgmt/rotorouter/Makefile b/net-mgmt/rotorouter/Makefile index 9492e6a92e6a..f8fd7ec4797d 100644 --- a/net-mgmt/rotorouter/Makefile +++ b/net-mgmt/rotorouter/Makefile @@ -3,7 +3,7 @@ PORTNAME= rotorouter PORTVERSION= 1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MASTER_SITES= # nada DISTFILES= # nil @@ -26,9 +26,7 @@ do-build: do-install: ${INSTALL_DATA} ${FILESDIR}/rotorouter.conf-example \ - ${STAGEDIR}${PREFIX}/etc - ${INSTALL_DATA} ${FILESDIR}/rotorouter.conf-example \ - ${STAGEDIR}${PREFIX}/etc/rotorouter.conf + ${STAGEDIR}${PREFIX}/etc/rotorouter.conf.sample ${INSTALL_PROGRAM} ${WRKSRC}/src/rotorouter ${STAGEDIR}${PREFIX}/sbin .include <bsd.port.mk> diff --git a/net-mgmt/rotorouter/pkg-plist b/net-mgmt/rotorouter/pkg-plist index 7904a04f8955..5863923e103a 100644 --- a/net-mgmt/rotorouter/pkg-plist +++ b/net-mgmt/rotorouter/pkg-plist @@ -1,4 +1,2 @@ sbin/rotorouter -@unexec if cmp -s %D/etc/rotorouter.conf %D/etc/rotorouter.conf-example ; then rm -f %D/etc/rotorouter.conf; fi -etc/rotorouter.conf-example -@exec if [ ! -f %D/etc/rotorouter.conf ]; then cp -p %D/%F %B/rotorouter.conf; fi +@sample etc/rotorouter.conf.sample |