Ignore:
Timestamp:
Nov 20, 2007, 1:41:55 AM (12 years ago)
Author:
nox@…
Message:

swi-prolog: Fixed Portfile with the new one attached to #13351.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/swi-prolog/Portfile

    r31314 r31315  
    11# $Id$
    22
    3 PortSystem  1.0
     3PortSystem      1.0
    44name            swi-prolog
    5 version            5.6.47
     5version         5.6.47
    66epoch           20051223
    77
    88categories      lang
    9 maintainers     wielemak@science.uva.nl
     9maintainers     wielemak@science.uva.nl pmoura@logtalk.org
    1010platforms       darwin
    1111description     SWI-Prolog compiler plus extra packages (stable version)
    1212
    1313long_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                 coroutining, constraint programming, global variables,          \
    18                 very fast compiler. Including packages clib (Unix process       \
    19                 control, sockets, MIME), cpp (C++ interface), sgml (reading     \
    20                 XML/SGML), sgml/RDF (reading RDF into triples), ODBC            \
    21                 interface and XPCE (Graphics UI toolkit, integrated editor      \
    22                 (Emacs-clone) and graphical debugger).
     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        coroutining, constraint programming, global variables,          \
     18        very fast compiler. Including packages clib (Unix process       \
     19        control, sockets, MIME), cpp (C++ interface), sgml (reading     \
     20        XML/SGML), sgml/RDF (reading RDF into triples), ODBC            \
     21        interface and XPCE (Graphics UI toolkit, integrated editor      \
     22        (Emacs-clone) and graphical debugger).
    2323
    2424homepage        http://www.swi-prolog.org/
    2525master_sites    http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/
    2626
    27 checksums        md5     4651f59c31225e87aa977274516cf818
     27checksums       md5     4651f59c31225e87aa977274516cf818
    2828
    2929depends_build   port:gawk
    3030
    3131depends_lib             \
    32                 lib:libreadline:readline        \
    33                 lib:libncursesw:ncurses         \
    34                 lib:libjpeg:jpeg                \
    35                 lib:libmcrypt:libmcrypt         \
    36                 lib:libX11.6:XFree86            \
    37                 lib:libgmp:gmp                  \
    38                 lib:libzlib:zlib
     32        lib:libreadline:readline        \
     33        lib:libncursesw:ncurses         \
     34        lib:libjpeg:jpeg                        \
     35        lib:libmcrypt:libmcrypt         \
     36        lib:libX11.6:XFree86            \
     37        lib:libgmp:gmp                          \
     38        lib:libzlib:zlib
    3939
    40 platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
     40platform darwin 6 {
     41        depends_lib-append lib:libdl:dlcompat
     42}
    4143
    4244distname        pl-${version}
    4345
    44 configure.env   LIBRARY_PATH=/usr/lib:/usr/X11R6/lib:/opt/local/lib \
    45                 CPATH=/usr/include:/usr/X11R6/include:/opt/local/include \
    46                 JUNIT=/opt/local/share/java/junit.jar
     46configure.env   \
     47        LIBRARY_PATH=/usr/lib:/usr/X11R6/lib:/opt/local/lib             \
     48        CPATH=/usr/include:/usr/X11R6/include:/opt/local/include        \
     49        JUNIT=/opt/local/share/java/junit.jar
     50
    4751configure.ldflags
    4852
    49 configure.args  --prefix=${prefix}              \
    50                 --mandir=${prefix}/share/man    \
    51                 --with-world
     53configure.args  \
     54        --prefix=${prefix}                              \
     55        --mandir=${prefix}/share/man    \
     56        --with-world
    5257
    53 build.env       LIBRARY_PATH=/usr/lib:/usr/X11R6/lib:/opt/local/lib \
    54                 CPATH=/usr/include:/usr/X11R6/include:/opt/local/include \
    55                 JUNIT=/opt/local/share/java/junit.jar
     58build.env       \
     59        LIBRARY_PATH=/usr/lib:/usr/X11R6/lib:/opt/local/lib                     \
     60        CPATH=/usr/include:/usr/X11R6/include:/opt/local/include        \
     61        JUNIT=/opt/local/share/java/junit.jar
    5662
    5763post-pkg {
    58         set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
    59         file copy -force -- ${workpath}/pl-${version}/man/macosx/License.html ${resources}/License.html
    60         file copy -force -- ${workpath}/pl-${version}/man/macosx/macosx.html ${resources}/ReadMe.html
    61         file copy -force -- ${workpath}/pl-${version}/man/macosx/Welcome.html ${resources}/Welcome.html
     64        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
     65        file copy -force -- ${workpath}/pl-${version}/man/macosx/License.html ${resources}/License.html
     66        file copy -force -- ${workpath}/pl-${version}/man/macosx/macosx.html ${resources}/ReadMe.html
     67        file copy -force -- ${workpath}/pl-${version}/man/macosx/Welcome.html ${resources}/Welcome.html
     68        file delete -force -- ${resources}/Welcome.rtf
     69}
     70
     71post-mpkg {
     72        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
     73        file copy -force -- ${workpath}/pl-${version}/man/macosx/License.html ${resources}/License.html
     74        file copy -force -- ${workpath}/pl-${version}/man/macosx/macosx.html ${resources}/ReadMe.html
     75        file copy -force -- ${workpath}/pl-${version}/man/macosx/Welcome.html ${resources}/Welcome.html
     76        file delete -force -- ${resources}/Welcome.rtf
    6277}
    6378
    6479default_variants +mt
    6580
    66 variant st      { configure.args-append --disable-mt}
     81variant st {
     82        configure.args-append --disable-mt
     83}
    6784
    68 variant mt      { configure.args-append --enable-mt}
    69 
     85variant mt {
     86        configure.args-append --enable-mt
     87}
Note: See TracChangeset for help on using the changeset viewer.