1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

- Now that we don't depend on eyeOS we should create the themes directory

Reported by:	pointyhat via kris
This commit is contained in:
Andrew Pantyukhin 2006-11-02 22:42:55 +00:00
parent 513b35dc93
commit 059b8891a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176240
2 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,7 @@ post-extract:
@${FIND} ${WRKSRC} -name \*~ -delete
do-install:
${INSTALL} -d ${THEMESDIR}/
${CP} -Rp ${EYETHEMES:S,^,${WRKDIR}/,} ${THEMESDIR}/
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${THEMESDIR}
${CHMOD} -R go-w ${THEMESDIR}
@ -63,7 +64,7 @@ do-install:
# Maintainer section
create-plist: build
: > ${PLIST}
:>${PLIST}
.for theme in ${OPTIONS:M*_THEME:S/_THEME//:O}
${FIND} -s ${WRKSRC}/${theme} -type f -or -type l | \
${SED} -e 's#^${WRKSRC}/${theme}#%%${theme:U}%%#' >> ${PLIST}
@ -74,5 +75,6 @@ create-plist: build
.endfor
${ECHO_CMD} @dirrmtry %%EYEDIR%%/system/themes >> ${PLIST}
${ECHO_CMD} @dirrmtry %%EYEDIR%%/system >> ${PLIST}
${ECHO_CMD} @dirrmtry %%EYEDIR%% >> ${PLIST}
.include <bsd.port.post.mk>

View File

@ -893,3 +893,4 @@
%%DFROMX%%
@dirrmtry %%EYEDIR%%/system/themes
@dirrmtry %%EYEDIR%%/system
@dirrmtry %%EYEDIR%%