mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
Convert to staging.
Sponsored by: Absolight
This commit is contained in:
parent
336e98a240
commit
09667e2879
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341164
@ -17,21 +17,16 @@ RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${MKDIR} ${DATADIR}
|
||||
${CP} -R ${WRKSRC}/xsl ${DATADIR}
|
||||
@${FIND} ${DATADIR} ! -type d | \
|
||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
|
||||
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${CP} -R ${WRKSRC}/xsl ${STAGEDIR}${DATADIR}
|
||||
@${FIND} ${STAGEDIR}${DATADIR} ! -type d | \
|
||||
${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${STAGEDIR}${DATADIR} -type d | ${SORT} -r | \
|
||||
${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user