[31261] trunk/dports/print/a2ps-j
takanori at macports.org
takanori at macports.org
Sun Nov 18 21:25:36 PST 2007
Revision: 31261
http://trac.macosforge.org/projects/macports/changeset/31261
Author: takanori at macports.org
Date: 2007-11-18 21:25:35 -0800 (Sun, 18 Nov 2007)
Log Message:
-----------
a2ps-j: Linted.
Modified Paths:
--------------
trunk/dports/print/a2ps-j/Portfile
Added Paths:
-----------
trunk/dports/print/a2ps-j/files/patch-nojconv.diff
Removed Paths:
-------------
trunk/dports/print/a2ps-j/files/patch-nojconv
Modified: trunk/dports/print/a2ps-j/Portfile
===================================================================
--- trunk/dports/print/a2ps-j/Portfile 2007-11-19 05:25:12 UTC (rev 31260)
+++ trunk/dports/print/a2ps-j/Portfile 2007-11-19 05:25:35 UTC (rev 31261)
@@ -1,37 +1,46 @@
# $Id$
-PortSystem 1.0
-name a2ps-j
-version 1.45
-revision 1
-categories print textproc
-maintainers takanori at macports.org
-description Text file to postscript converter (with Japanese support)
-long_description This program is perl version of Miguel Santana's a2ps. \
- a2ps-j converts plain text to PostScript for printing on a PS printer. \
- If no file is given, a2ps-j reads from the standard input.
-platforms darwin
-homepage
-master_sites macports \
- ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/ \
- ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/
-distfiles a2ps.pl-${version}
-checksums md5 3eae209b3c69ec692ee7d61ddd663f6c \
- sha1 1a938099322767bced3eae525426b80164584d8c \
- rmd160 2599f86d4433afd3d0ed3490539d87995ce51dab
-patchfiles patch-nojconv
-depends_run bin:perl:perl5.8 \
- port:nkf
+PortSystem 1.0
-extract {
- file mkdir ${worksrcpath}
- file copy ${distpath}/a2ps.pl-${version} ${worksrcpath}/${name}
+name a2ps-j
+version 1.45
+revision 1
+categories print textproc japanese
+maintainers takanori
+description Text file to postscript converter (with Japanese support)
+long_description \
+ This program is perl version of Miguel Santana's a2ps. \
+ a2ps-j converts plain text to PostScript for printing on a PS printer. \
+ If no file is given, a2ps-j reads from the standard input.
+platforms darwin
+homepage
+master_sites macports \
+ ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/ \
+ ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/
+distfiles a2ps.pl-${version}
+patchfiles patch-nojconv.diff
+checksums md5 3eae209b3c69ec692ee7d61ddd663f6c \
+ sha1 1a938099322767bced3eae525426b80164584d8c \
+ rmd160 2599f86d4433afd3d0ed3490539d87995ce51dab
+
+depends_run bin:perl:perl5.8 \
+ port:nkf
+
+extract {
+ file mkdir ${worksrcpath}
+ copy ${distpath}/a2ps.pl-${version} ${worksrcpath}/${name}
}
-post-patch {
- reinplace "s|#!/usr/local/bin/perl|#!/usr/bin/env perl|" ${worksrcpath}/${name}
+
+post-patch {
+ reinplace "s|#!/usr/local/bin/perl|#!/usr/bin/env perl|" ${worksrcpath}/${name}
}
-configure {}
-build {}
-destroot {
- xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
+
+configure {}
+
+build {}
+
+destroot {
+ xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
}
+
+livecheck.check none
Deleted: trunk/dports/print/a2ps-j/files/patch-nojconv
===================================================================
--- trunk/dports/print/a2ps-j/files/patch-nojconv 2007-11-19 05:25:12 UTC (rev 31260)
+++ trunk/dports/print/a2ps-j/files/patch-nojconv 2007-11-19 05:25:35 UTC (rev 31261)
@@ -1,10 +0,0 @@
---- a2ps-j~ 2006-03-20 19:21:58.000000000 +0900
-+++ a2ps-j 2006-03-21 07:01:16.000000000 +0900
-@@ -410,7 +410,6 @@
- unless ($selfconvert) {
- shift while @_ > 0 && $_[0] eq '';
- exec('nkf', '-b', '-j', @_);
-- exec('jconv', '-j', @_);
- }
- if (($file = shift) ne '') {
- open(STDIN, $file) || die "$file: $!\n";
Copied: trunk/dports/print/a2ps-j/files/patch-nojconv.diff (from rev 30574, trunk/dports/print/a2ps-j/files/patch-nojconv)
===================================================================
--- trunk/dports/print/a2ps-j/files/patch-nojconv.diff (rev 0)
+++ trunk/dports/print/a2ps-j/files/patch-nojconv.diff 2007-11-19 05:25:35 UTC (rev 31261)
@@ -0,0 +1,10 @@
+--- a2ps-j~ 2006-03-20 19:21:58.000000000 +0900
++++ a2ps-j 2006-03-21 07:01:16.000000000 +0900
+@@ -410,7 +410,6 @@
+ unless ($selfconvert) {
+ shift while @_ > 0 && $_[0] eq '';
+ exec('nkf', '-b', '-j', @_);
+- exec('jconv', '-j', @_);
+ }
+ if (($file = shift) ne '') {
+ open(STDIN, $file) || die "$file: $!\n";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071118/82cade6f/attachment.html
More information about the macports-changes
mailing list