summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-09-24 22:12:09 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-09-24 22:12:09 +0000
commitca2bebd85da4139e94f0a77bfbf7f72722ec7626 (patch)
tree9dc83754f0a893cb5edfeae195cf2078e41c10c4 /audio
parent- Update x11/nvidia-driver to 346.96. (diff)
Convert to @sample
Notes
Notes: svn path=/head/; revision=397774
Diffstat (limited to '')
-rw-r--r--audio/xhippo/Makefile5
-rw-r--r--audio/xhippo/pkg-plist4
2 files changed, 4 insertions, 5 deletions
diff --git a/audio/xhippo/Makefile b/audio/xhippo/Makefile
index dc9cec4fbe60..3eb6f79d59b8 100644
--- a/audio/xhippo/Makefile
+++ b/audio/xhippo/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xhippo
PORTVERSION= 3.5
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= GNU
@@ -25,11 +26,11 @@ LDFLAGS+= -L${LOCALBASE}/lib
INFO= xhippo
post-extract:
- @${LN} -sf xhippo.config ${WRKSRC}/xhippo.config.default
+ @${LN} -sf xhippo.config ${WRKSRC}/xhippo.config.sample
post-patch:
@${REINPLACE_CMD} -e \
- '/^sysconf_DATA/s|=.*|= xhippo.config.default|' \
+ '/^sysconf_DATA/s|=.*|= xhippo.config.sample|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/audio/xhippo/pkg-plist b/audio/xhippo/pkg-plist
index 309e52551a12..b68312dda1c0 100644
--- a/audio/xhippo/pkg-plist
+++ b/audio/xhippo/pkg-plist
@@ -1,6 +1,4 @@
bin/xhippo
-@unexec if cmp -s %D/etc/xhippo.config %D/etc/xhippo.config.default; then rm -f %D/etc/xhippo.config; fi
-etc/xhippo.config.default
-@exec test -f %B/xhippo.config || cp %B/%f %B/xhippo.config
+@sample etc/xhippo.config.sample
man/man1/xhippo.1.gz
share/locale/de/LC_MESSAGES/xhippo.mo