svn commit: r364283 - head/textproc/xhtml1-xsd

Pawel Pekala pawel at FreeBSD.org
Thu Aug 7 14:54:02 UTC 2014


Author: pawel
Date: Thu Aug  7 14:54:01 2014
New Revision: 364283
URL: http://svnweb.freebsd.org/changeset/ports/364283
QAT: https://qat.redports.org/buildarchive/r364283/

Log:
  - Add staging support
  - Switch to PLIST_FILES

Modified:
  head/textproc/xhtml1-xsd/Makefile

Modified: head/textproc/xhtml1-xsd/Makefile
==============================================================================
--- head/textproc/xhtml1-xsd/Makefile	Thu Aug  7 14:52:59 2014	(r364282)
+++ head/textproc/xhtml1-xsd/Makefile	Thu Aug  7 14:54:01 2014	(r364283)
@@ -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}/, at dirrm ,' >> ${TMPPLIST}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${PLIST_FILES:S|^${DATADIR_REL}/||} \
+		${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list