aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gbsplay
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-04-16 22:48:09 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-04-16 22:48:09 +0800
commit45d38a5f39c2b6a829e5f2f227dcde97ae625656 (patch)
treeea8fe2369de4d3702b650da89fa72d2e5937a648 /audio/gbsplay
parent340952d3b6741acceceb40a0747f32a9965f35d8 (diff)
downloadfreebsd-ports-gnome-45d38a5f39c2b6a829e5f2f227dcde97ae625656.tar.gz
freebsd-ports-gnome-45d38a5f39c2b6a829e5f2f227dcde97ae625656.tar.zst
freebsd-ports-gnome-45d38a5f39c2b6a829e5f2f227dcde97ae625656.zip
Use @sample pkg-plist macro.
Diffstat (limited to 'audio/gbsplay')
-rw-r--r--audio/gbsplay/Makefile4
-rw-r--r--audio/gbsplay/pkg-plist4
2 files changed, 3 insertions, 5 deletions
diff --git a/audio/gbsplay/Makefile b/audio/gbsplay/Makefile
index b818735ffa49..11bca032fac8 100644
--- a/audio/gbsplay/Makefile
+++ b/audio/gbsplay/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gbsplay
PORTVERSION= 0.0.8
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= CRITICAL
PKGNAMEPREFIX?=
@@ -78,7 +78,7 @@ do-install:
${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \
- ${STAGEDIR}${PREFIX}/etc/gbsplayrc.default
+ ${STAGEDIR}${PREFIX}/etc/gbsplayrc.sample
.if !exists(${STAGEDIR}${PREFIX}/etc/gbsplayrc)
${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \
${STAGEDIR}${PREFIX}/etc/gbsplayrc
diff --git a/audio/gbsplay/pkg-plist b/audio/gbsplay/pkg-plist
index 1fb00993c7b6..306fe5abb11f 100644
--- a/audio/gbsplay/pkg-plist
+++ b/audio/gbsplay/pkg-plist
@@ -1,8 +1,6 @@
bin/gbsplay
bin/gbsinfo
-@unexec if cmp -s %D/etc/gbsplayrc %D/etc/gbsplayrc.default; then rm -f %D/etc/gbsplayrc; fi
-etc/gbsplayrc.default
-@exec [ -f %B/gbsplayrc ] || cp %B/%f %B/gbsplayrc
+@sample etc/gbsplayrc.sample
share/locale/de/LC_MESSAGES/gbsplay.mo
share/locale/en/LC_MESSAGES/gbsplay.mo
man/man1/gbsinfo.1.gz