diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-01-27 20:48:20 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-01-27 20:48:20 +0800 |
commit | ccbf8e4fc2f0da85e39f481eb1ba94e240f3d071 (patch) | |
tree | fb7902b7781f50cbe59836c008a3702bbf20b8e1 /textproc | |
parent | e87328cfa821030eac22ad11b847f82ec7b9fc01 (diff) | |
download | freebsd-ports-gnome-ccbf8e4fc2f0da85e39f481eb1ba94e240f3d071.tar.gz freebsd-ports-gnome-ccbf8e4fc2f0da85e39f481eb1ba94e240f3d071.tar.zst freebsd-ports-gnome-ccbf8e4fc2f0da85e39f481eb1ba94e240f3d071.zip |
- Fix shebangs
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/dblatex/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/textproc/dblatex/Makefile b/textproc/dblatex/Makefile index 55f226fd6542..59ef0fb28880 100644 --- a/textproc/dblatex/Makefile +++ b/textproc/dblatex/Makefile @@ -3,6 +3,7 @@ PORTNAME= dblatex PORTVERSION= 0.3.9 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -27,14 +28,10 @@ PYDISTUTILS_INSTALLARGS+= --catalogs=${LOCALBASE}/share/xml/catalog.ports \ OPTIONS_DEFINE= DOCS post-patch: - @${REINPLACE_CMD} -e "s,share/man/man1,man/man1,g" ${WRKSRC}/setup.py + @${REINPLACE_CMD} -e '/SHELL_SCRIPT/ s|#!.*|#!${PYTHON_CMD}|' ${WRKSRC}/setup.py + @${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} -i '' -e 's|/usr/bin/env python|${PREFIX}/bin/python2|' \ - ${STAGEDIR}${PREFIX}/bin/dblatex - .include <bsd.port.mk> |