From 02225d978489bf98949cbc489617c1721e5a7186 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 30 May 2014 12:53:56 +0000 Subject: [PATCH] Fix packaging as a regular user --- textproc/sdocbook-xml/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/textproc/sdocbook-xml/Makefile b/textproc/sdocbook-xml/Makefile index 33a579e38d94..80aef05b0109 100644 --- a/textproc/sdocbook-xml/Makefile +++ b/textproc/sdocbook-xml/Makefile @@ -17,6 +17,7 @@ RUN_DEPENDS+= ${LOCALBASE}/${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr USES= zip NO_MTREE= yes NO_BUILD= yes +NO_WRKSUBDIR= yes XMLCATMGR= bin/xmlcatmgr XMLCAT= share/xml/catalog.ports @@ -31,11 +32,10 @@ PLIST_SUB+= XMLCATMGR=${XMLCATMGR} SGMLCAT=${SGMLCAT} XMLCAT=${XMLCAT} \ DTDDIR=${DTDDIR} SUB_FILES= ${CATALOG_FILES} SUB_LIST+= DTDDIR=${PREFIX}/${DTDDIR} -WRKSRC= ${WRKDIR} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${DTDDIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${DTDDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "*.css *.dtd *.mod" ${STAGEDIR}${PREFIX}/${DTDDIR} .for f in ${CATALOG_FILES} ${INSTALL_DATA} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/${DTDDIR} .endfor