diff options
author | marcus <marcus@FreeBSD.org> | 2009-05-10 13:34:39 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-05-10 13:34:39 +0800 |
commit | 85a6345279d573a6ff0def8d567ef1387be8368c (patch) | |
tree | c2303ad9e88830e474dd9f83d97eac4f5fc61d56 /audio | |
parent | 2ec940b950f0066c2226b7dc999d67a6b7ab76a1 (diff) | |
download | freebsd-ports-gnome-85a6345279d573a6ff0def8d567ef1387be8368c.tar.gz freebsd-ports-gnome-85a6345279d573a6ff0def8d567ef1387be8368c.tar.zst freebsd-ports-gnome-85a6345279d573a6ff0def8d567ef1387be8368c.zip |
Make sure the configuration files get installed correctly when using
packages.
Reported by: Joseph S. Atkinson <jsatkinson@embarqmail.com>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/pulseaudio/Makefile | 2 | ||||
-rw-r--r-- | audio/pulseaudio/pkg-plist | 4 |
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 |