aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/dblatex
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-04-18 18:22:42 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-04-18 18:22:42 +0800
commit8821b4a12960176840489dcda531b034144ba2ac (patch)
tree6bcdce315ddb40b7bdb05a506313b9f9f4f830bc /textproc/dblatex
parent6aca5fb8ff9581945449aacddf61ef1002de44be (diff)
downloadfreebsd-ports-gnome-8821b4a12960176840489dcda531b034144ba2ac.tar.gz
freebsd-ports-gnome-8821b4a12960176840489dcda531b034144ba2ac.tar.zst
freebsd-ports-gnome-8821b4a12960176840489dcda531b034144ba2ac.zip
- Add LICENSE_FILE
- Don't leave .bak file after shebang fixing
Diffstat (limited to 'textproc/dblatex')
-rw-r--r--textproc/dblatex/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/dblatex/Makefile b/textproc/dblatex/Makefile
index b3633408d7d1..55f226fd6542 100644
--- a/textproc/dblatex/Makefile
+++ b/textproc/dblatex/Makefile
@@ -10,6 +10,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= DocBook to LaTeX/ConTeXt Publishing
LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
BUILD_DEPENDS= ${LOCALBASE}/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty:print/texlive-texmf
RUN_DEPENDS= xsltproc:textproc/libxslt \
@@ -33,7 +34,7 @@ post-patch-DOCS-off:
post-install:
# shebangfix can't be used because dblatex is built from scratch
- ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PREFIX}/bin/python2|' \
+ @${REINPLACE_CMD} -i '' -e 's|/usr/bin/env python|${PREFIX}/bin/python2|' \
${STAGEDIR}${PREFIX}/bin/dblatex
.include <bsd.port.mk>