Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 16:08:19 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346040 - head/textproc/mathml-xsd
Message-ID:  <201402251608.s1PG8Jwt089122@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Feb 25 16:08:19 2014
New Revision: 346040
URL: http://svnweb.freebsd.org/changeset/ports/346040
QAT: https://qat.redports.org/buildarchive/r346040/

Log:
  - Support staging
  - Don't install VCS files
  - Use COPYTREE_SHARE instead of CP

Modified:
  head/textproc/mathml-xsd/Makefile

Modified: head/textproc/mathml-xsd/Makefile
==============================================================================
--- head/textproc/mathml-xsd/Makefile	Tue Feb 25 15:56:59 2014	(r346039)
+++ head/textproc/mathml-xsd/Makefile	Tue Feb 25 16:08:19 2014	(r346040)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402251608.s1PG8Jwt089122>