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:
parent
a98b2dff5b
commit
89b4eb4843
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40513
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user