aboutsummaryrefslogtreecommitdiff
path: root/audio/mt-daapd/pkg-plist
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-25 13:17:25 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-25 13:17:25 +0000
commitb817e22842d6ea1272864db7b797f128324d3f6b (patch)
treebec8e8e15657c537ac7e57980f4d9f395cbe6933 /audio/mt-daapd/pkg-plist
parent39d8313eef89b28db48c773cf63a275f83f10a17 (diff)
downloadports-b817e22842d6ea1272864db7b797f128324d3f6b.tar.gz
ports-b817e22842d6ea1272864db7b797f128324d3f6b.zip
Notes
Diffstat (limited to 'audio/mt-daapd/pkg-plist')
-rw-r--r--audio/mt-daapd/pkg-plist11
1 files changed, 6 insertions, 5 deletions
diff --git a/audio/mt-daapd/pkg-plist b/audio/mt-daapd/pkg-plist
index f9f249315332..d9034bf45888 100644
--- a/audio/mt-daapd/pkg-plist
+++ b/audio/mt-daapd/pkg-plist
@@ -1,6 +1,6 @@
@comment $FreeBSD$
+@unexec if cmp -s %D/etc/mt-daapd.conf.sample %D/etc/mt-daapd.conf; then rm -f %D/etc/mt-daapd.conf; fi
etc/mt-daapd.conf.sample
-etc/rc.d/mt-daapd.sh
sbin/mt-daapd
%%DATADIR%%/admin-root/aspl-license.html
%%DATADIR%%/admin-root/aspl-license.txt
@@ -19,11 +19,9 @@ sbin/mt-daapd
%%DATADIR%%/admin-root/required.gif
%%DATADIR%%/admin-root/status.html
%%DATADIR%%/admin-root/thanks.html
-@dirrm var/mt-daapd/db
-@dirrm var/mt-daapd
-@dirrm %%DATADIR%%/mp3
+@dirrmtry %%DATADIR%%/mp3
@dirrm %%DATADIR%%/admin-root
-@dirrm %%DATADIR%%
+@dirrmtry %%DATADIR%%
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
@@ -33,3 +31,6 @@ sbin/mt-daapd
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@cwd /
+@dirrmtry %%DAAPD_DBDIR%%/db
+@dirrmtry %%DAAPD_DBDIR%%