diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-04-16 22:50:18 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-04-16 22:50:18 +0800 |
commit | 5afc90880d94e76211ec3d06e9aa63065997c7df (patch) | |
tree | b8cf420d1de7a9617a5fae1103b6bc9ecd6ec43f | |
parent | 45d38a5f39c2b6a829e5f2f227dcde97ae625656 (diff) | |
download | freebsd-ports-gnome-5afc90880d94e76211ec3d06e9aa63065997c7df.tar.gz freebsd-ports-gnome-5afc90880d94e76211ec3d06e9aa63065997c7df.tar.zst freebsd-ports-gnome-5afc90880d94e76211ec3d06e9aa63065997c7df.zip |
Use @sample pkg-plist macro.
-rw-r--r-- | devel/cvsspam/Makefile | 3 | ||||
-rw-r--r-- | devel/cvsspam/pkg-plist | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/devel/cvsspam/Makefile b/devel/cvsspam/Makefile index 3f405ef6a4ae..52246f3b05aa 100644 --- a/devel/cvsspam/Makefile +++ b/devel/cvsspam/Makefile @@ -3,6 +3,7 @@ PORTNAME= cvsspam PORTVERSION= 0.2.12 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.badgers-in-foil.co.uk/projects/cvsspam/releases/ \ CRITICAL @@ -34,7 +35,7 @@ do-install: ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} .endfor ${INSTALL_DATA} ${WRKSRC}/cvsspam.conf \ - ${STAGEDIR}${PREFIX}/etc/cvsspam.conf.default + ${STAGEDIR}${PREFIX}/etc/cvsspam.conf.sample .if !exists(${STAGEDIR}${PREFIX}/etc/cvsspam.conf) ${INSTALL_DATA} ${WRKSRC}/cvsspam.conf \ ${STAGEDIR}${PREFIX}/etc/cvsspam.conf diff --git a/devel/cvsspam/pkg-plist b/devel/cvsspam/pkg-plist index 2ff348019621..5dc28b16bf6c 100644 --- a/devel/cvsspam/pkg-plist +++ b/devel/cvsspam/pkg-plist @@ -1,6 +1,4 @@ -@unexec if cmp -s %D/etc/cvsspam.conf %D/etc/cvsspam.conf.default; then rm -f %D/etc/cvsspam.conf; fi -etc/cvsspam.conf.default -@exec [ -f %B/cvsspam.conf ] || cp %B/%f %B/cvsspam.conf +@sample etc/cvsspam.conf.sample libexec/cvsspam/collect_diffs.rb libexec/cvsspam/cvsspam.rb libexec/cvsspam/record_lastdir.rb |