aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libao/Makefile
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2007-03-10 02:14:06 +0800
committernaddy <naddy@FreeBSD.org>2007-03-10 02:14:06 +0800
commit1a57fece2c3aba5b82347f37a4e0d3b2e4fd8aab (patch)
treef0f2f3e4574ffa3488f29f33b0d4c35a01ddf6d9 /audio/libao/Makefile
parent094de0004a12158704f2ec96f2b022e956b9e0b7 (diff)
downloadfreebsd-ports-gnome-1a57fece2c3aba5b82347f37a4e0d3b2e4fd8aab.tar.gz
freebsd-ports-gnome-1a57fece2c3aba5b82347f37a4e0d3b2e4fd8aab.tar.zst
freebsd-ports-gnome-1a57fece2c3aba5b82347f37a4e0d3b2e4fd8aab.zip
Configuration file libao.conf should be in ${PREFIX}/etc.
PR: 109914 Submitted by: Ed Schouten <ed@fxq.nl>
Diffstat (limited to 'audio/libao/Makefile')
-rw-r--r--audio/libao/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile
index fb5e60c5080b..fcd553d8e1e2 100644
--- a/audio/libao/Makefile
+++ b/audio/libao/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libao
PORTVERSION= 0.8.5
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://www.xiph.org/ao/src/
@@ -59,4 +59,9 @@ CONFIGURE_ARGS+= --disable-esd
PLIST_SUB+= ESOUND="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|/etc/libao.conf|${PREFIX}&|' \
+ ${WRKSRC}/libao.conf.5 ${WRKSRC}/src/ao_private.h \
+ ${WRKSRC}/doc/config.html
+
.include <bsd.port.post.mk>