Ticket #27726: Portfile.diff

File Portfile.diff, 2.0 KB (added by lockhart (Thomas Lockhart), 10 years ago)

Slightly updated Portfile including a section for livecheck. Needs patch-Makefile-x86_64.diff renamed to patch-Makefile.diff

  • Portfile

    old new  
    44PortSystem          1.0
    55
    66name                libcudd
    7 version             2.4.1
     7version             2.5.0
    88categories          devel
    99maintainers         bitchx.it:mij
    1010description         An efficient library for manipulating decision diagrams
     
    1717homepage            http://vlsi.colorado.edu/~fabio/CUDD/
    1818master_sites        ftp://vlsi.colorado.edu/pub/
    1919distname            cudd-${version}
    20 checksums           sha1 0a0894ff5a2798a73fcacf76d451777aa02919ce
     20checksums           sha1 7d0d8b4b03f5c1819fe77a82f3b947421a72d629 \
     21                    rmd160 2f7b1dc3118925de268a1f1396ba4e66b65c54e4
     22
    2123platforms           darwin
    2224
    2325# patch to:
    24 # Makefile: avoid compiler flags that cause errors, add C++ interface target
    25 patchfiles          patch-Makefile.diff patch-obj-cuddObj.cc.diff patch-obj-cuddObj.hh.diff patch-cudd-Makefile.diff patch-dddmp-Makefile.diff patch-epd-Makefile.diff patch-mtr-Makefile.diff patch-obj-Makefile.diff patch-st-Makefile.diff patch-util-Makefile.diff
     26# Makefile: avoid compiler flags that cause errors
     27patchfiles          patch-cudd-Makefile.diff patch-dddmp-Makefile.diff patch-epd-Makefile.diff patch-mtr-Makefile.diff patch-obj-Makefile.diff patch-st-Makefile.diff patch-util-Makefile.diff patch-Makefile.diff
     28if {![string match "-arch x86_64" ${configure.cc_archflags}]
     29    && ![string match "-arch ppc64" ${configure.cc_archflags}]} {
     30    post-patch {
     31        reinplace "s|-DSIZEOF_VOID_P=8 -DSIZEOF_LONG=8|-malign-double|g" ${worksrcpath}/Makefile
     32    }
     33}
    2634
    2735use_configure       no
    2836
     
    5866    # TODO: install documentation ...
    5967}
    6068
     69livecheck.type      regex
     70livecheck.regex     "Release (\\d+(?:\\.\\d+)*)"
     71
    6172notes "
    6273To compile against the CUDD dynamic library, use\
    6374'-I${prefix}/include/cudd -L${prefix}/lib/cudd -lcudd' for the C interface, or\