1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add staging support

- Switch to PLIST_FILES
This commit is contained in:
Pawel Pekala 2014-08-07 14:54:01 +00:00
parent 93f5cc7174
commit 8534aabac6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364283

View File

@ -18,13 +18,14 @@ EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= . EXTRACT_AFTER_ARGS= .
NO_BUILD= yes NO_BUILD= yes
NO_STAGE= yes PLIST_FILES= ${DATADIR_REL}/xhtml1-frameset.xsd \
${DATADIR_REL}/xhtml1-strict.xsd \
${DATADIR_REL}/xhtml1-transitional.xsd
PLIST_DIRS= ${DATADIR_REL}
do-install: do-install:
@${MKDIR} ${DATADIR} @${MKDIR} ${STAGEDIR}${DATADIR}
@${CP} -R ${WRKSRC}/* ${DATADIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PLIST_FILES:S|^${DATADIR_REL}/||} \
@${FIND} ${DATADIR} -type f | \ ${STAGEDIR}${DATADIR})
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk> .include <bsd.port.mk>