aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-03-29 02:32:02 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-03-29 02:32:02 +0000
commit89b4eb4843f65fc0579524a345088c5cd7b15ef5 (patch)
tree9da1b4d4092233b61ddac01931e8c3e03c4a9e55 /multimedia
parenta98b2dff5bb8d0350318a76c3a7d9e06987ec96d (diff)
downloadports-89b4eb4843f65fc0579524a345088c5cd7b15ef5.tar.gz
ports-89b4eb4843f65fc0579524a345088c5cd7b15ef5.zip
Add graceful creation/removal of global Skins dir.
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=40513
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xmms/Makefile3
-rw-r--r--multimedia/xmms/pkg-plist2
2 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile
index 57bae47e6c13..68b05e2a3ad9 100644
--- a/multimedia/xmms/Makefile
+++ b/multimedia/xmms/Makefile
@@ -94,4 +94,7 @@ pre-patch:
s|\$\(datadir\)/aclocal|\$\(prefix\)/share/aclocal|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+post-install:
+ @${MKDIR} ${PREFIX}/share/xmms/Skins
+
.include <bsd.port.post.mk>
diff --git a/multimedia/xmms/pkg-plist b/multimedia/xmms/pkg-plist
index 36574fd07d79..d64f2a0ebef5 100644
--- a/multimedia/xmms/pkg-plist
+++ b/multimedia/xmms/pkg-plist
@@ -74,3 +74,5 @@ share/locale/zh_TW.Big5/LC_MESSAGES/xmms.mo
@dirrm lib/xmms/Effect
@dirrm lib/xmms
@dirrm include/xmms
+@exec mkdir -p %D/share/xmms/Skins
+@unexec rmdir %D/share/xmms/Skins %D/share/xmms 2>/dev/null || echo "If you are permanently removing xmms, do not forget to remove skin files left under %D/share/xmms/Skins. Use \`\`rm -Rf %D/share/xmms/Skins; rmdir %D/share/xmms''" | fmt