Ticket #17942: a2ps.diff
File a2ps.diff, 1.4 KB (added by blb@…, 16 years ago) |
---|
-
Portfile
2 2 PortSystem 1.0 3 3 4 4 name a2ps 5 version 4.13b 6 revision 3 5 version 4.14 7 6 categories print 8 7 maintainers mike@pentangle.net 9 8 description an Any to PostScript filter. … … 13 12 homepage http://www.gnu.org/software/a2ps/ 14 13 platforms darwin 15 14 master_sites gnu 16 checksums md5 0c8e0c31b08c14f7a7198ce967eb328117 patchfiles patch-ps-base.ps 18 worksrcdir ${name}-4.13 15 checksums md5 781ac3d9b213fa3e1ed0d79f986dc8c7 \ 16 sha1 365abbbe4b7128bf70dad16d06e23c5701874852 \ 17 rmd160 a5105d6256a809483e099519325979aaaff7219e 19 18 20 19 depends_build bin:psnup:psutils 21 20 22 platform darwin {23 depends_lib-append port:libtool24 post-patch {25 if {[file exists ${prefix}/share/libtool/config/config.guess]} {26 copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/config.sub ${worksrcpath}27 } else {28 copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}29 }30 }31 }32 33 21 pre-configure { reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/configure } 34 22 configure.args --with-medium=Letter \ 35 23 --mandir='\${prefix}/share/man' \ 36 24 --infodir='\${prefix}/share/info' 37 25 38 post-destroot { file delete ${destroot}${prefix}/share/info/dir }39