aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-05-30 20:53:56 +0800
committerantoine <antoine@FreeBSD.org>2014-05-30 20:53:56 +0800
commit70e54bc58b0eb4c73846af4967ae2dd03f8ef94a (patch)
tree50c497f202081fd410cad6263212fdf7e00bc1ba /textproc
parent57bb7ed93917f7c4c34a9542e2dabcecd3f0f45b (diff)
downloadfreebsd-ports-gnome-70e54bc58b0eb4c73846af4967ae2dd03f8ef94a.tar.gz
freebsd-ports-gnome-70e54bc58b0eb4c73846af4967ae2dd03f8ef94a.tar.zst
freebsd-ports-gnome-70e54bc58b0eb4c73846af4967ae2dd03f8ef94a.zip
Fix packaging as a regular user
Diffstat (limited to 'textproc')
-rw-r--r--textproc/sdocbook-xml/Makefile4
1 files 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