aboutsummaryrefslogtreecommitdiff
path: root/print/dvips2ascii/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 09:25:13 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 09:25:13 +0000
commit0e06342ba68f4b4d3cb2b33c8e0272de6eafd0f8 (patch)
tree4c3264fb6df96fc0b40b4cb6cb459b15efd7f361 /print/dvips2ascii/Makefile
parentccdc4129d5a97fff19dd32e9d5fe6df98e865bd0 (diff)
downloadports-0e06342ba68f4b4d3cb2b33c8e0272de6eafd0f8.tar.gz
ports-0e06342ba68f4b4d3cb2b33c8e0272de6eafd0f8.zip
Notes
Diffstat (limited to 'print/dvips2ascii/Makefile')
-rw-r--r--print/dvips2ascii/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/print/dvips2ascii/Makefile b/print/dvips2ascii/Makefile
index 14684abca5b7..32c2dcac66e2 100644
--- a/print/dvips2ascii/Makefile
+++ b/print/dvips2ascii/Makefile
@@ -9,15 +9,13 @@ MASTER_SITES= SF/srezic/${PORTNAME}/${PORTVERSION}
MAINTAINER= slaven@rezic.de
COMMENT= PostScript (created by dvips) to ASCII converter
-PLIST_FILES= bin/dvips2ascii
+USES= shebangfix
+NO_BUILD= yes
-NO_STAGE= yes
-do-build:
- ${MV} ${WRKSRC}/dvips2ascii ${WRKSRC}/dvips2ascii.orig
- ${SED} -e 's;#!.*perl;#!${PERL};' \
- < ${WRKSRC}/dvips2ascii.orig > ${WRKSRC}/dvips2ascii
+PLIST_FILES= bin/dvips2ascii
+SHEBANG_FILES= dvips2ascii
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/dvips2ascii ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/dvips2ascii ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>