- 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= .
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:
@${MKDIR} ${DATADIR}
@${CP} -R ${WRKSRC}/* ${DATADIR}
@${FIND} ${DATADIR} -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PLIST_FILES:S|^${DATADIR_REL}/||} \
${STAGEDIR}${DATADIR})
.include <bsd.port.mk>