summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-04-14 17:42:23 +0000
committerehaupt <ehaupt@FreeBSD.org>2014-04-14 17:42:23 +0000
commitb3d532d559754bfb6a628b3a09b329ede6752780 (patch)
tree4e790229f4c0bf57d230a38dcfca5eb4a5444013
parentc7b61ea2e23fff751a0e5f71b219b71109b2a143 (diff)
downloadFreeBSD-ports-b3d532d559754bfb6a628b3a09b329ede6752780.zip
FreeBSD-ports-b3d532d559754bfb6a628b3a09b329ede6752780.tar.gz
Use @sample pkg-plist macro.
-rw-r--r--audio/xmp/pkg-plist10
1 files changed, 3 insertions, 7 deletions
diff --git a/audio/xmp/pkg-plist b/audio/xmp/pkg-plist
index f8d6c35..c868568 100644
--- a/audio/xmp/pkg-plist
+++ b/audio/xmp/pkg-plist
@@ -1,9 +1,5 @@
-man/man1/xmp.1.gz
-@unexec if cmp -s %D/%%ETCDIR%%/xmp.conf %D/%%ETCDIR%%/xmp.conf.sample; then rm -f %D/%%ETCDIR%%/xmp.conf; fi
-%%ETCDIR%%/xmp.conf.sample
-@exec [ -f %B/xmp.conf ] || cp %B/%f %B/xmp.conf
bin/xmp
-@unexec if cmp -s %D/%%ETCDIR%%/modules.conf %D/%%ETCDIR%%/modules.conf.sample; then rm -f %D/%%ETCDIR%%/modules.conf; fi
-%%ETCDIR%%/modules.conf.sample
-@exec [ -f %B/modules.conf ] || cp %B/%f %B/modules.conf
+man/man1/xmp.1.gz
+@sample %%ETCDIR%%/xmp.conf.sample
+@sample %%ETCDIR%%/modules.conf.sample
@dirrmtry %%ETCDIR%%
OpenPOWER on IntegriCloud