aboutsummaryrefslogtreecommitdiff
path: root/audio/pulseaudio
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-05-10 05:34:39 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-05-10 05:34:39 +0000
commit28aaaf9138d1e6c53180f94c18a5b359e9d288c2 (patch)
treef0b198c21f2184cbeeedf73ecd01f45a4831f6da /audio/pulseaudio
parentace6ccaa2371760c133a819fc8d4e169c588a697 (diff)
downloadports-28aaaf9138d1e6c53180f94c18a5b359e9d288c2.tar.gz
ports-28aaaf9138d1e6c53180f94c18a5b359e9d288c2.zip
Make sure the configuration files get installed correctly when using
packages. Reported by: Joseph S. Atkinson <jsatkinson@embarqmail.com>
Notes
Notes: svn path=/head/; revision=233568
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r--audio/pulseaudio/Makefile2
-rw-r--r--audio/pulseaudio/pkg-plist4
2 files changed, 5 insertions, 1 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 90d632a22537..1518984db836 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -8,7 +8,7 @@
PORTNAME= pulseaudio
PORTVERSION= 0.9.14
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/
diff --git a/audio/pulseaudio/pkg-plist b/audio/pulseaudio/pkg-plist
index 71937789252e..d84110daef1b 100644
--- a/audio/pulseaudio/pkg-plist
+++ b/audio/pulseaudio/pkg-plist
@@ -12,12 +12,16 @@ bin/pulseaudio
bin/start-pulseaudio-x11
@unexec if cmp -s %D/etc/pulse/client.conf %D/etc/pulse/client.conf-dist; then rm -f %D/etc/pulse/client.conf; fi
etc/pulse/client.conf-dist
+@exec [ -f %B/client.conf ] || cp %B/%f %B/client.conf
@unexec if cmp -s %D/etc/pulse/daemon.conf %D/etc/pulse/daemon.conf-dist; then rm -f %D/etc/pulse/daemon.conf; fi
etc/pulse/daemon.conf-dist
+@exec [ -f %B/daemon.conf ] || cp %B/%f %B/daemon.conf
@unexec if cmp -s %D/etc/pulse/default.pa %D/etc/pulse/default.pa-dist; then rm -f %D/etc/pulse/default.pa; fi
etc/pulse/default.pa-dist
+@exec [ -f %B/default.pa ] || cp %B/%f %B/default.pa
@unexec if cmp -s %D/etc/pulse/system.pa %D/etc/pulse/system.pa-dist; then rm -f %D/etc/pulse/system.pa; fi
etc/pulse/system.pa-dist
+@exec [ -f %B/system.pa ] || cp %B/%f %B/system.pa
etc/xdg/autostart/pulseaudio.desktop
%%AVAHI%%include/pulse/browser.h
include/pulse/cdecl.h