Ticket #14826: Portfile.diff

File Portfile.diff, 1.1 KB (added by takeshi@…, 17 years ago)

Patch

  • Portfile

    old new  
    44
    55name                    triangle
    66version                 1.6
     7revision 1
    78categories              science
    89maintainers             jwa openmaintainer
    910description             A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator
     
    2122
    2223worksrcdir              ${name}
    2324
    24 checksums               sha1 b581366c09340f33c634eb2bb724881924fe87a3
    25 
     25checksums               md5 77b45a848d62ec47b931fa7269c8533f \
     26            sha1 b581366c09340f33c634eb2bb724881924fe87a3 \
     27            rmd160 9e9111c98b6099cde5eb577dee8a44b762544064
    2628extract.suffix          .gz
    2729extract.cmd                     gzip
    2830extract.pre_args        -dc
    2931extract.post_args       "| sh"
    3032
    3133post-extract    {
    32     cd ${workpath}
    33     file mkdir ${worksrcdir}
    34     eval file rename [glob \[A-s\]* t*.?] ${worksrcdir}
    35     reinplace "s/-DLINUX//" ${worksrcdir}/makefile
     34    file mkdir ${worksrcpath}
     35    eval file rename [glob -directory ${workpath} \[A-s\]* t*.?] ${worksrcpath}
     36    reinplace "s/-DLINUX//" ${worksrcpath}/makefile
    3637}
    3738
    38 depends_lib             lib:libX11.6:XFree86
     39#depends_lib            lib:libX11.6:XFree86
    3940
    4041use_configure           no
    4142