aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2011-11-03 08:38:47 +0800
committereadler <eadler@FreeBSD.org>2011-11-03 08:38:47 +0800
commit0c08d04419e99750482d6da3325eea7ad9895992 (patch)
tree2669028add45affcb408ace21d1b7157d0a513cf /textproc
parente4f439afd6a7cf8b604c0bcfbffcec6769999829 (diff)
downloadfreebsd-ports-gnome-0c08d04419e99750482d6da3325eea7ad9895992.tar.gz
freebsd-ports-gnome-0c08d04419e99750482d6da3325eea7ad9895992.tar.zst
freebsd-ports-gnome-0c08d04419e99750482d6da3325eea7ad9895992.zip
- fix explicit use of unzip in ports
PR: ports/153429 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> Approved by: maintainers (hq, gabor, amdmi3) Approved by: maintainer timeout Approved by: bapt,sahil (mentors, implicit)
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