1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add graceful creation/removal of global Skins dir.

Approved by:	maintainer
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-03-29 02:32:02 +00:00
parent a98b2dff5b
commit 89b4eb4843
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40513
4 changed files with 10 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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