Ticket #25477: fig2ps_Portfile.diff

File fig2ps_Portfile.diff, 1.6 KB (added by jjstickel@…, 14 years ago)
  • graphics/fig2ps/Portfile

    old new  
     1# -*- coding: utf-8; mode: tcl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=2:ts=2:sts=2
    12# $Id: Portfile 56056 2009-08-23 23:04:27Z ryandesign@macports.org $
    23
    34PortSystem              1.0
    45
    56name                    fig2ps
    6 version                 1.3.6
     7version                 1.5
    78categories              graphics tex
    89maintainers             vcn.com:jjstickel
    910platforms               darwin
     
    2021                 pictures are seamlessly integrated with the text (notably, the font in\
    2122                 the figures is exactly the same as in the text).
    2223
    23 checksums \
    24     md5 ad8156d5177d76bbfb9b84ea3f403453 \
    25     sha1 6184054e3ed8b460db0f15f07400c66d8dbd7254
     24checksums           md5     22ea30b5d0f36dfec7b462449b0fc82b \
     25                    sha1    088f5b4a4beda035b6ddb8019e290627c2452d34 \
     26                    rmd160  1d33c9b7377989f1a83cbfd8f63ecf82c8bad5ac
    2627
     28use_bzip2           yes
     29   
    2730depends_run     path:bin/perl:perl5 \
    2831                port:ghostscript \
    2932                port:transfig \
    3033                bin:latex:texlive
    3134
    3235post-extract {
    33     reinplace "s|\$(DESTDIR)/usr|${destroot}${prefix}|" ${worksrcpath}/Makefile
    34     reinplace "s|\$(DESTDIR)|${destroot}${prefix}|" ${worksrcpath}/Makefile
    35     reinplace "s|usr/||" ${worksrcpath}/dirs
     36    reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/Makefile
     37    reinplace "s|/etc|${prefix}/etc|" ${worksrcpath}/Makefile
    3638    reinplace "s|/etc|${prefix}/etc|" ${worksrcpath}/bin/fig2ps
    3739}
    3840