diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-05-09 16:26:11 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-05-09 16:26:11 +0000 |
commit | f581fef655e27634c139e94c60555c4600d02792 (patch) | |
tree | 1b831dccc83b7cbe494e223ea7f8693e082e3160 | |
parent | 6fb174b2bbceee15ebc923584a5cf08f9a4600c2 (diff) | |
download | ports-f581fef655e27634c139e94c60555c4600d02792.tar.gz ports-f581fef655e27634c139e94c60555c4600d02792.zip |
Notes
-rw-r--r-- | japanese/a2ps/Makefile | 6 | ||||
-rw-r--r-- | japanese/a2ps/files/patch-aa | 14 |
2 files changed, 16 insertions, 4 deletions
diff --git a/japanese/a2ps/Makefile b/japanese/a2ps/Makefile index e3a409157545..26a6d58b81b7 100644 --- a/japanese/a2ps/Makefile +++ b/japanese/a2ps/Makefile @@ -7,9 +7,11 @@ PORTNAME= a2ps PORTVERSION= 1.45 +PORTREVISION= 1 CATEGORIES= japanese print -MASTER_SITES= ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/ \ - ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/ +MASTER_SITES= ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/ \ + ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= nork DISTNAME= ${PORTNAME}.pl-${PORTVERSION} EXTRACT_SUFX= diff --git a/japanese/a2ps/files/patch-aa b/japanese/a2ps/files/patch-aa index 6856aed82475..b91bd3111d26 100644 --- a/japanese/a2ps/files/patch-aa +++ b/japanese/a2ps/files/patch-aa @@ -1,8 +1,18 @@ ---- a2ps-j.orig Thu Apr 8 02:52:44 1999 -+++ a2ps-j Thu Apr 8 02:54:06 1999 +--- a2ps-j.orig 2010-05-10 01:15:32.227559000 +0900 ++++ a2ps-j 2010-05-10 01:18:27.223595925 +0900 @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl ;# ;# a2ps: ascii to ps ;# +@@ -192,7 +192,8 @@ + + if ($debug == 2) { + require('dumpvar.pl'); +- local($#) = '%.6g'; ++## Perl 5.10.1 says $# is no longer supported ++## local($#) = '%.6g'; + &dumpvar('main', + 'width', 'height', 'lmargin', 'smargin', 'font_size', + 'sheet_height', 'sheet_width', 'char_width', 'skip_column', |