diff --git a/textproc/xhtml1-xsd/Makefile b/textproc/xhtml1-xsd/Makefile index e18d173409e8..501db4dd674d 100644 --- a/textproc/xhtml1-xsd/Makefile +++ b/textproc/xhtml1-xsd/Makefile @@ -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