summaryrefslogtreecommitdiff
path: root/print/cdlabelgen/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-12-17 17:19:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-12-17 17:19:48 +0000
commit7c47779cb9cc1f12908949c26b831e944047ed17 (patch)
treecc6e929ebf67eee2cc8ce1692ea0663387b3a559 /print/cdlabelgen/Makefile
parentFix a regression in 2.1 where tmux was misshandling key strokes if you (diff)
Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is fine to use it in a ports Makefile to do Perly things, but ports using it must use ${PERL}, that points to /usr/local/bin/perl so that if the minor version is updated, the shebang keep working. While there, make some ports use shebangfix, regen a few patches, and bump PORTREVISION where a shebang went from PERL5 to PERL. PR: 205367 With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=403913
Diffstat (limited to '')
-rw-r--r--print/cdlabelgen/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/print/cdlabelgen/Makefile b/print/cdlabelgen/Makefile
index af347bb4d660..7cab91c30494 100644
--- a/print/cdlabelgen/Makefile
+++ b/print/cdlabelgen/Makefile
@@ -9,7 +9,9 @@ MASTER_SITES= http://www.aczoom.com/pub/tools/
MAINTAINER= ports@FreeBSD.org
COMMENT= Generate postscript for frontcards and traycards for CDs
-USES= perl5 tar:tgz
+USES= perl5 tar:tgz shebangfix
+SHEBANG_FILES= cdlabelgen
+NO_BUILD= yes
MAKE_ARGS= BASE_DIR="${STAGEDIR}${PREFIX}" \
LIB_DIR="${STAGEDIR}${DATADIR}" \
INSTALL="${INSTALL_SCRIPT}" \
@@ -18,7 +20,4 @@ MAKE_ARGS= BASE_DIR="${STAGEDIR}${PREFIX}" \
INSTALL_MAN="${INSTALL_MAN}" \
MAN_DIR="${STAGEDIR}${PREFIX}/man"
-do-build:
- ${PERL5} -i.bak -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${WRKSRC}/cdlabelgen
-
.include <bsd.port.mk>