Index: head/textproc/xhtml1-xsd/Makefile
===================================================================
--- head/textproc/xhtml1-xsd/Makefile (revision 364282)
+++ head/textproc/xhtml1-xsd/Makefile (revision 364283)
@@ -1,30 +1,31 @@
# Created by: ijliao
# $FreeBSD$
PORTNAME= xhtml1-xsd
PORTVERSION= 200208
CATEGORIES= textproc
MASTER_SITES= http://www.w3.org/2002/08/xhtml/
DISTFILES= xhtml1-frameset.xsd \
xhtml1-strict.xsd \
xhtml1-transitional.xsd
MAINTAINER= ports@FreeBSD.org
COMMENT= XHTML 1.0 (Second Edition) in XML Schema
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
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