PortSystem      1.0

name            a2ps-j
version         1.45
revision        4
categories      print textproc japanese
maintainers     nomaintainer
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       any
license         Restrictive/Distributable
supported_archs noarch
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-a2ps-j.diff
checksums       md5 3eae209b3c69ec692ee7d61ddd663f6c \
                sha1 1a938099322767bced3eae525426b80164584d8c \
                rmd160 2599f86d4433afd3d0ed3490539d87995ce51dab

depends_run     bin:perl:perl5 \
                port:nkf

extract.mkdir   yes
extract {
    copy ${distpath}/a2ps.pl-${version} ${worksrcpath}/${name}
}

use_configure   no

build {}

destroot {
    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
}

livecheck.type  none
