aboutsummaryrefslogtreecommitdiffstats
path: root/audio/pulseaudio/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2010-07-25 20:35:50 +0800
committerkwm <kwm@FreeBSD.org>2010-07-25 20:35:50 +0800
commit34bf966445c334ec0fac1ccffc666d55a7ac12d8 (patch)
tree0288a1c9f8d0517f43fd881bc073c1d21e253d7f /audio/pulseaudio/Makefile
parentc2795992de2585a9e7b55e83cb2eb6696d0ea375 (diff)
downloadfreebsd-ports-gnome-34bf966445c334ec0fac1ccffc666d55a7ac12d8.tar.gz
freebsd-ports-gnome-34bf966445c334ec0fac1ccffc666d55a7ac12d8.tar.zst
freebsd-ports-gnome-34bf966445c334ec0fac1ccffc666d55a7ac12d8.zip
Don't overwrite config files when reinstalling. [1]
Don't detect /dev/dspN.0 instead of /dev/dpsN. We should not reference a virtual channel 0, which is automatically cloned from /dev/dspN. [2] Reported by: someone on #bsdports [1] jkim@ [2]
Diffstat (limited to 'audio/pulseaudio/Makefile')
-rw-r--r--audio/pulseaudio/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 678316cc8c65..468b26b2267b 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/audio/pulseaudio/Makefile,v 1.21 2009/11/28 19:08:20 marcus Exp $
+# $MCom: ports-stable/audio/pulseaudio/Makefile,v 1.7 2010/06/25 20:35:01 kwm Exp $
#
# !!!NOTE!!! Any PORTVERSION update to this port must be accompanied by
# PORTREVISION bumps to audio/gnome-media, sysutils/gnome-settings-daemon,
@@ -12,7 +12,7 @@
PORTNAME= pulseaudio
PORTVERSION= 0.9.21
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/
@@ -117,9 +117,14 @@ post-patch:
${WRKSRC}/configure
post-install:
+ ${MKDIR} ${PREFIX}/etc/pulse
.for ii in default.pa daemon.conf client.conf system.pa
${INSTALL_DATA} ${WRKSRC}/src/${ii} \
${PREFIX}/etc/pulse/${ii}-dist
+. if !exists(${PREFIX}/etc/pulse/${II})
+ ${INSTALL_DATA} ${WRKSRC}/src/${ii} \
+ ${PREFIX}/etc/pulse/${ii}
+. endif
.endfor
.include <bsd.port.post.mk>