Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2014 14:54:01 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364283 - head/textproc/xhtml1-xsd
Message-ID:  <53e39309.5d87.f0ebb9c@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}/,@dirrm ,' >> ${TMPPLIST}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${PLIST_FILES:S|^${DATADIR_REL}/||} \
+		${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e39309.5d87.f0ebb9c>