aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2011-11-03 00:38:47 +0000
committerEitan Adler <eadler@FreeBSD.org>2011-11-03 00:38:47 +0000
commit08b62e4c3ed1c5d7716c0cefa807585f13860f21 (patch)
tree7c53351b957bf483e6d4f0a7ca124868796fe671 /textproc
parentab96b438257799f5533caba95f9d21b4abd05fa4 (diff)
downloadports-08b62e4c3ed1c5d7716c0cefa807585f13860f21.tar.gz
ports-08b62e4c3ed1c5d7716c0cefa807585f13860f21.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docbook-xml/Makefile2
-rw-r--r--textproc/sdocbook-xml/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/textproc/docbook-xml/Makefile b/textproc/docbook-xml/Makefile
index 5261a3d24cb7..fb2d1d2fa576 100644
--- a/textproc/docbook-xml/Makefile
+++ b/textproc/docbook-xml/Makefile
@@ -36,7 +36,7 @@ pre-su-install:
@[ -d ${DOCBOOKDIR}/ent ] || ${MKDIR} ${DOCBOOKDIR}/ent
do-install:
- for file in `unzip -l ${DISTDIR}/${DISTFILES}|${AWK} '/:[0-9].*[^\/]$$/{print $$4}'`; do \
+ for file in `${UNZIP_CMD} -l ${DISTDIR}/${DISTFILES}|${AWK} '/:[0-9].*[^\/]$$/{print $$4}'`; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCBOOKDIR}/$$file; \
done
diff --git a/textproc/sdocbook-xml/Makefile b/textproc/sdocbook-xml/Makefile
index 5039a5eb78ba..ad28ac86250d 100644
--- a/textproc/sdocbook-xml/Makefile
+++ b/textproc/sdocbook-xml/Makefile
@@ -37,7 +37,7 @@ FILES= sdbcent.mod sdbhier.mod sdbpool.mod sdocbook-custom.dtd \
do-extract:
${MKDIR} ${WRKDIR}; \
- (cd ${WRKDIR} && unzip -oq ${DISTDIR}/${DISTFILES})
+ (cd ${WRKDIR} && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES})
post-patch:
${SED} -e 's#@@DTDDIR@@#${SDOCBOOKDIR}#' < ${FILESDIR}/catalog.xml > ${WRKSRC}/catalog.xml