Ticket #13386: patch

File patch, 1.5 KB (added by adfernandes (Andrew Fernandes), 16 years ago)

updated patch (uses 2.33_8 rather than fake 2.33.8 as version)

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name             ploticus
    5 version          2.31
     5version          2.33
     6revision         8
    67categories       math
    78maintainers      nomaintainer
    89description      plot generation program
     
    1718homepage         http://ploticus.sourceforge.net/
    1819platforms        darwin
    1920
    20 master_sites     http://ploticus.sourceforge.net/download/
    21 distname         pl231src
    22 checksums        md5 70712f7f41484db3bfd9210ae7742762
    23 
    24 depends_lib      lib:libX11:XFree86 lib:XXX:libpng lib:XXX:zlib
    25 
    26 patchfiles       patch-src__Makefile \
    27                  patch-src__gd16.c
     21master_sites     sourceforge
     22distname         pl233src
     23checksums        md5 1e242200e7e52f7a24041c95f58f2fc1
     24
     25depends_lib      lib:libX11:XFree86 \
     26                 port:gd2 port:libpng port:zlib port:jpeg port:freetype
     27
     28patchfiles       ploticus_2.33-3.diff \
     29                 stack.pl.diff \
     30                 patch-src__Makefile \
     31                 mac.patch
    2832
    2933post-patch {
    3034        reinplace s|__PREFIX__|${prefix}| ${worksrcpath}/src/Makefile
     
    3438
    3539build.dir        ${worksrcpath}/src
    3640build.target
     41
     42destroot {
     43    xinstall -d ${destroot}${prefix}/bin
     44    xinstall -m 755 src/plgd18 ${destroot}${prefix}/bin/ploticus
     45    xinstall -d ${destroot}${prefix}/share/man/man1
     46    xinstall -m 444 man/man1/pl.1 ${destroot}${prefix}/share/man/man1/ploticus.1
     47}