diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-12-17 17:19:48 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-12-17 17:19:48 +0000 |
commit | 7c47779cb9cc1f12908949c26b831e944047ed17 (patch) | |
tree | cc6e929ebf67eee2cc8ce1692ea0663387b3a559 /textproc/man2html | |
parent | Fix 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 'textproc/man2html')
-rw-r--r-- | textproc/man2html/Makefile | 6 | ||||
-rw-r--r-- | textproc/man2html/files/patch-man.cgi | 6 |
2 files changed, 1 insertions, 11 deletions
diff --git a/textproc/man2html/Makefile b/textproc/man2html/Makefile index da5790a0308c..24cbc655ebbb 100644 --- a/textproc/man2html/Makefile +++ b/textproc/man2html/Makefile @@ -3,7 +3,7 @@ PORTNAME= man2html PORTVERSION= 3.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://hydra.nac.uci.edu/indiv/ehood/tar/ \ ftp://ftp.cpan.org/pub/CPAN/modules/by-authors/Earl_Hood/ \ @@ -20,10 +20,6 @@ CGIDIR= ${PREFIX}/www/cgi-bin PLIST_FILES= bin/man2html man/man1/man2html.1.gz www/cgi-bin/man.cgi -post-patch: - ${REINPLACE_CMD} -e "s#/usr/local/bin/perl#${PERL5}#" ${WRKSRC}/man2html - ${REINPLACE_CMD} -e "s#/usr/bin/perl5.00503#${PERL5}#" ${WRKSRC}/man.cgi - do-install: ${INSTALL_SCRIPT} ${WRKSRC}/man2html ${STAGEDIR}/${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/man2html.1 ${STAGEDIR}/${PREFIX}/man/man1 diff --git a/textproc/man2html/files/patch-man.cgi b/textproc/man2html/files/patch-man.cgi index 323a2425df80..e61412256bb8 100644 --- a/textproc/man2html/files/patch-man.cgi +++ b/textproc/man2html/files/patch-man.cgi @@ -1,11 +1,5 @@ --- man.cgi.orig Wed Aug 13 01:19:18 1997 +++ man.cgi Sat Sep 30 00:46:55 2000 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl5.00503 - ##---------------------------------------------------------------------------## - ## File: - ## @(#) man.cgi 1.2 97/08/12 12:58:26 @(#) @@ -59,8 +59,8 @@ ## systems. If using Tom Christiansen's Perl man program, than ## define use "". |