# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name a2ps version 4.15.6 revision 0 categories print license GPL-3+ maintainers nomaintainer description an Any to PostScript filter. long_description a2ps is a utilty that allows the user to do \ PostScript manipulations. It is able to pass on \ processing to other filters, such as gzip and dvips. homepage https://www.gnu.org/software/a2ps/ master_sites gnu checksums rmd160 f4f61a0c3181366544028d755e1b5fae2e5890fe \ sha256 87ff9d801cb11969181d5b8cf8b65e65e5b24bb0c76a1b825e8098f2906fbdf4 \ size 3605392 depends_build bin:psnup:psutils \ port:help2man \ port:bin/pkg-config:pkgconfig depends_lib port:libpaper \ port:boehmgc if {[string match *gcc-4.* ${configure.compiler}]} { patchfiles-append \ patch-xcode-gcc.diff } pre-configure { reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/configure } configure.args-append \ --disable-silent-rules \ --mandir='\${prefix}/share/man' \ --infodir='\${prefix}/share/info' # https://trac.macports.org/ticket/66923 configure.env-append \ COM_makeinfo=no if {![variant_isset a4]} { default_variants +letter } variant a4 conflicts letter description {set default paper size to a4} { configure.args-append --with-medium=A4 } variant letter conflicts a4 description {set default paper size to letter} { configure.args-append --with-medium=Letter }