aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-25 17:25:13 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-25 17:25:13 +0800
commit9a546600a551bd1c1302eda7aaddebe278628de9 (patch)
tree4c3264fb6df96fc0b40b4cb6cb459b15efd7f361 /print
parent1ccd051c5857dc9d75df51fdb141ed3b0adedebe (diff)
downloadfreebsd-ports-gnome-9a546600a551bd1c1302eda7aaddebe278628de9.tar.gz
freebsd-ports-gnome-9a546600a551bd1c1302eda7aaddebe278628de9.tar.zst
freebsd-ports-gnome-9a546600a551bd1c1302eda7aaddebe278628de9.zip
- Support staging
- Use shebangfix
Diffstat (limited to 'print')
-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>