1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Support staging

- Don't install VCS files
- Use COPYTREE_SHARE instead of CP
This commit is contained in:
Emanuel Haupt 2014-02-25 16:08:19 +00:00
parent f4728df430
commit c64628c24f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346040

View File

@ -3,7 +3,7 @@
PORTNAME= mathml-xsd
PORTVERSION= 2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://www.w3.org/Math/XMLSchema/
DISTNAME= mathml${PORTVERSION}
@ -14,16 +14,12 @@ COMMENT= The MathML XML Schema
NO_BUILD= yes
NO_STAGE= yes
post-extract:
@${FIND} ${WRKSRC} -name "CVS" -type d -delete
@${FIND} ${WRKSRC} -name "CVS" -type d -exec rm -rf {} +;
@${RM} ${WRKSRC}/content/tokens.xsd.~1.3.~
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} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>