1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Make sure the configuration files get installed correctly when using

packages.

Reported by:	Joseph S. Atkinson <jsatkinson@embarqmail.com>
This commit is contained in:
Joe Marcus Clarke 2009-05-10 05:34:39 +00:00
parent ace6ccaa23
commit 28aaaf9138
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233568
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@
PORTNAME= pulseaudio
PORTVERSION= 0.9.14
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/

View File

@ -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