Ticket #23962: Portfile-mscgen.diff

File Portfile-mscgen.diff, 1.4 KB (added by tvb377@…, 14 years ago)
  • Portfile

    old new  
    33PortSystem              1.0
    44
    55name                    mscgen
    6 version                 0.13
     6version                 0.17
    77categories              graphics
    88maintainers             landonf
    99homepage                http://www.mcternan.me.uk/mscgen/
     
    2121master_sites            ${homepage}/software/
    2222distname                ${name}-src-${version}
    2323
    24 checksums               md5     12fc1275458449b112d938109b91674a \
    25                         sha1    aff63d3614c9a1af99ec3d5ef73523826415954e \
    26                         rmd160  7c787821e80ce85c26816e314272342f61708ffb
     24checksums               md5     b3a084a31070a0db2e0bb40a35825fac \
     25                        sha1    17db4a1f6c84eeda244a933075975bf922907174 \
     26                        rmd160  751cee2f282ce94608a4f818696b179a74d063cc
    2727
    2828depends_lib             port:gd2
    2929
    30 worksrcdir              ${name}/src
     30worksrcdir              ${name}-${version}
    3131
    32 use_configure           no
    33 build.target            all-osx
    34 build.args              CFLAGS="-I. -I../parser -I${prefix}/include -DPACKAGE_VERSION=${version}"
    35 
    36 destroot {
    37     file copy ${worksrcpath}/../bin/mscgen ${destroot}/${prefix}/bin
    38 }
     32configure.env           GDLIB_CFLAGS='${configure.cflags}' GDLIB_LIBS='-lgd'
     33use_configure           yes
     34configure.args          --prefix=${prefix}