diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-03 10:54:57 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-03 10:54:57 +0800 |
commit | 2111be1d1093454dce9c6935dec9489a40b6bef6 (patch) | |
tree | 0744471c5ee64f786cdd2f29b4f9cb880868a3df /sysutils/utcount | |
parent | 3bf2836eddb53ee89e1be07ae7e7ce51d1283de3 (diff) | |
download | freebsd-ports-gnome-2111be1d1093454dce9c6935dec9489a40b6bef6.tar.gz freebsd-ports-gnome-2111be1d1093454dce9c6935dec9489a40b6bef6.tar.zst freebsd-ports-gnome-2111be1d1093454dce9c6935dec9489a40b6bef6.zip |
- Switch to @sample
Diffstat (limited to 'sysutils/utcount')
-rw-r--r-- | sysutils/utcount/Makefile | 5 | ||||
-rw-r--r-- | sysutils/utcount/pkg-plist | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/utcount/Makefile b/sysutils/utcount/Makefile index 297454a6f42b..4a807cdc34b9 100644 --- a/sysutils/utcount/Makefile +++ b/sysutils/utcount/Makefile @@ -3,6 +3,7 @@ PORTNAME= utcount PORTVERSION= 0.1 +PORTREVISION= 1 CATEGORIES= sysutils net MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -16,4 +17,8 @@ MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}" \ post-build: ${STRIP_CMD} ${WRKSRC}/bin/count_client +post-install: + ${MV} ${STAGEDIR}${PREFIX}/etc/utcount.conf.default \ + ${STAGEDIR}${PREFIX}/etc/utcount.conf.sample + .include <bsd.port.mk> diff --git a/sysutils/utcount/pkg-plist b/sysutils/utcount/pkg-plist index 36788c970b5f..79eaadf4b938 100644 --- a/sysutils/utcount/pkg-plist +++ b/sysutils/utcount/pkg-plist @@ -6,6 +6,4 @@ bin/count_pppd bin/count_samba bin/count_user etc/rc.d/utcount.sh.default -@unexec if [ -f %D/etc/utcount.conf ] && cmp -s %D/etc/utcount.conf %D/etc/utcount.conf.default; then rm -f %D/etc/utcount.conf; fi -etc/utcount.conf.default -@exec if [ ! -f %D/etc/utcount.conf ] ; then cp -p %D/%F %B/utcount.conf; fi +@sample etc/utcount.conf.sample |