summaryrefslogtreecommitdiff
path: root/print
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
parent- Stage support (diff)
- Support staging
- Use shebangfix
Notes
Notes: svn path=/head/; revision=345947
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>