Ticket #23155: Portfile-swi-prolog-lite.diff

File Portfile-swi-prolog-lite.diff, 3.0 KB (added by pmoura (Paulo Moura), 15 years ago)
  • Portfile

    old new  
    1 # $Id: Portfile 57749 2009-09-16 04:30:02Z ryandesign@macports.org $
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
     2# $Id: Portfile 60682 2009-11-19 22:03:18Z snc@macports.org $
    23
    3 PortSystem      1.0
     4PortSystem      1.0
    45
    56name            swi-prolog-lite
    6 version         5.6.62
     7version         5.8.3
     8epoch           20051223
    79
    810categories      lang
    911maintainers     uva.nl:J.Wielemaker logtalk.org:pmoura
     
    1113description     SWI-Prolog compiler (without extra packages)
    1214
    1315long_description        \
    14                 ISO/Edinburgh-style Prolog compiler including modules,          \
    15                 autoload, libraries, Garbage-collector, stack-expandor,         \
    16                 C/C++-interface, Multiple threads, GNU-readline interface,      \
    17                 very fast compiler. Including packages clib (Unix process       \
    18                 control, sockets, MIME), cpp (C++ interface), sgml (reading \
    19                 XML/SGML), sgml/RDF (reading RDF into triples), ODBC            \
    20                 interface and XPCE (Graphics UI toolkit, integrated editor      \
    21                 (Emacs-clone) and graphical debugger).
     16        ISO/Edinburgh-style Prolog compiler including modules,          \
     17        autoload, libraries, Garbage-collector, stack-expandor,         \
     18        C/C++-interface, Multiple threads, GNU-readline interface,      \
     19        coroutining, constraint programming, global variables,          \
     20        very fast compiler. Including packages clib (Unix process       \
     21        control, sockets, MIME), cpp (C++ interface), sgml (reading     \
     22        XML/SGML), sgml/RDF (reading RDF into triples), ODBC            \
     23        interface and XPCE (Graphics UI toolkit, integrated editor      \
     24        (Emacs-clone) and graphical debugger).
    2225
    2326homepage        http://www.swi-prolog.org/
     27master_sites    http://www.swi-prolog.org/download/stable/src
    2428
    25 master_sites    http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/
     29checksums   \
     30    md5     faeb7ade8da9832f113e6748ba6cab03 \
     31        sha1    f0bb08d00162165b23fe3372d0b1fd3967cfc311 \
     32        rmd160  907ee5445b977167d5db508254675648f5d8633c
    2633
    27 dist_subdir     swi-prolog
     34depends_build   \
     35        port:gawk       \
     36        port:junit
    2837
    29 checksums       \
    30         md5     0305ac720f6d1277bcaf33876570f0d2 \
    31         sha1    bd87c39f9b87c8f8981507de76b1e46a83380de4 \
    32         rmd160  7356d072091d363584fd8262a04c30509c018a0a
     38depends_lib             \
     39        port:readline
    3340
    34 depends_lib     port:readline
     41use_parallel_build      no
     42
     43platform darwin 9 {
     44        depends_lib-append port:expat
     45}
    3546
    3647distname        pl-${version}
    3748worksrcdir      pl-${version}/src
     
    4960        --enable-shared
    5061
    5162build.env       \
    52         LIBRARY_PATH=${prefix}/lib      \
    53         CPATH=/usr/include:${prefix}/include
     63        LIBRARY_PATH=/usr/lib:${prefix}/lib     \
     64        CPATH=/usr/include:${prefix}/include    \
     65        CC=${configure.cc}
    5466
    5567post-build {
    5668        file mkdir ${workpath}/macosx
     
    90102}
    91103
    92104livecheck.type      regexm
    93 livecheck.url       ${homepage}dl-stable.html
    94 livecheck.regex     "Gzipped tar file holding the sources for version <b>(\\d+\\.\\d+\\.\\d+)"
     105livecheck.url       ${homepage}download/stable
     106livecheck.regex     "/download/stable/src/pl-(\\d+\\.\\d+\\.\\d+).tar.gz"