summaryrefslogtreecommitdiffstats
path: root/textproc/dblatex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/dblatex/Makefile')
-rw-r--r--textproc/dblatex/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/textproc/dblatex/Makefile b/textproc/dblatex/Makefile
index d321341..0bb24ee 100644
--- a/textproc/dblatex/Makefile
+++ b/textproc/dblatex/Makefile
@@ -16,19 +16,18 @@ RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
USES= tar:bzip2 python:2
USE_PYTHON= distutils autoplist
USE_TEX= tex
+NO_ARCH= yes
PYDISTUTILS_INSTALLARGS+= --catalogs=${LOCALBASE}/share/xml/catalog.ports
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
-.if ! ${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -e '/pdfdocs),/d ; /htmldoc)/d' ${WRKSRC}/setup.py
-.endif
@${REINPLACE_CMD} -e "s,share/man/man1,man/man1,g" ${WRKSRC}/setup.py
+post-patch-DOCS-off:
+ @${REINPLACE_CMD} -e '/pdfdocs),/d ; /htmldoc)/d' ${WRKSRC}/setup.py
+
post-install:
# shebangfix can't be used because dblatex is built from scratch
${REINPLACE_CMD} -e 's|/usr/bin/env python|${PREFIX}/bin/python2|' \
OpenPOWER on IntegriCloud