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