summaryrefslogtreecommitdiff
path: root/print/dvips2ascii/Makefile
diff options
context:
space:
mode:
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>