diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-02-12 16:25:47 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-02-12 16:25:47 +0000 |
commit | 43aeb62e10690ad6490d8a8979deb1958f667cdd (patch) | |
tree | e4d90885ad830a977360ec94ecae96fdef9935c3 /www/tinymce | |
parent | 791b25416d65caf3480fe5880f328adf003c66ad (diff) | |
download | ports-43aeb62e10690ad6490d8a8979deb1958f667cdd.tar.gz ports-43aeb62e10690ad6490d8a8979deb1958f667cdd.zip |
Notes
Diffstat (limited to 'www/tinymce')
-rw-r--r-- | www/tinymce/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/www/tinymce/Makefile b/www/tinymce/Makefile index 88f50a247be2..788d0acb7ea4 100644 --- a/www/tinymce/Makefile +++ b/www/tinymce/Makefile @@ -19,18 +19,18 @@ CONFLICTS_INSTALL= tinymce-[0-35-9]* tinymce3-[0-9]* NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} +post-extract: + @cd ${WRKSRC}/ && ${FIND} -s * -type d -empty | ${XARGS} -I % ${TOUCH} %/.keepme + do-install: cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ # maintainer section: #MS_DIRRMTRY= # empty -MS_EMPTYDIRS= ${WRKDIR}/.ms-empty-directories MS_PLIST= ${WRKDIR}/.ms-pkg-plist genplist: do-clean extract - cd ${WRKSRC}/ && ${FIND} -s * -type d -empty | ${XARGS} >> ${MS_EMPTYDIRS} - ${SED} 's|[^ ]*|&/.keepme|g' ${MS_EMPTYDIRS} | ${XARGS} -J % ${TOUCH} % ${ECHO} "@owner www" > ${MS_PLIST} ${ECHO} "@group www" >> ${MS_PLIST} cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SED} 's|^|%%WWWDIR%%/|' >> ${MS_PLIST} @@ -42,6 +42,5 @@ genplist: do-clean extract # ${REINPLACE_CMD} '/^@dirrm %%WWWDIR%%\/${dir:C/\//\\\//g}$$/ s|@dirrm|&try|' ${MS_PLIST} #.endfor ${INSTALL} -m 600 ${MS_PLIST} ${PLIST} - ${REINPLACE_CMD} -e "/^EMPTYDIRS=/ s| .*$$| `${CAT} ${MS_EMPTYDIRS}`|" ${.CURDIR}/Makefile .include <bsd.port.mk> |