Changeset 21581


Ignore:
Timestamp:
Jan 29, 2007, 6:25:17 PM (13 years ago)
Author:
gwright@…
Message:

Version bump to 1.3.0. Thanks to Paulo Moura!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/gprolog/Portfile

    r20321 r21581  
    11# $Id$
    22
    3 PortSystem      1.0
     3PortSystem 1.0
    44name            gprolog
    5 version         1.2.16
    6 revision        4
     5version         1.3.0
    76
    87categories      lang
     
    2625
    2726homepage        http://gprolog.inria.fr/
    28 master_sites    ftp://ftp.inria.fr/INRIA/Projects/contraintes/${name}/
     27master_sites    http://www.gprolog.org/
    2928
    30 checksums       md5 d7fe87106cd3e7e770375f04dd0d14c2
     29checksums       md5 950736db26248f6ed942191ec6c441e9
    3130
    3231distname        ${name}-${version}
    3332worksrcdir      ${name}-${version}/src
    3433
    35 platform darwin 8 {
    36                 configure.env-append    CC=gcc-3.3
     34configure.args \
     35        --prefix=${destroot}/${prefix} \
     36        --with-install-dir=${prefix}/lib/${name}-${version} \
     37        --with-examples-dir=${prefix}/share/${name}-${version} \
     38        --with-doc-dir=${prefix}/share/${name}-${version}
     39
     40post-destroot   {
     41        cd ${destroot}${prefix}/bin
     42
     43        file delete fd2c
     44        file delete gplc
     45        file delete gprolog
     46        file delete hexgplc
     47        file delete ma2asm
     48        file delete pl2wam
     49        file delete wam2ma
     50
     51        system "ln -s ../lib/${name}-${version}/bin/fd2c fd2c"
     52        system "ln -s ../lib/${name}-${version}/bin/gplc gplc"
     53        system "ln -s ../lib/${name}-${version}/bin/gprolog gprolog"
     54        system "ln -s ../lib/${name}-${version}/bin/hexgplc hexgplc"
     55        system "ln -s ../lib/${name}-${version}/bin/ma2asm ma2asm"
     56        system "ln -s ../lib/${name}-${version}/bin/pl2wam pl2wam"
     57        system "ln -s ../lib/${name}-${version}/bin/wam2ma wam2ma"
     58
     59        file delete -force ${destroot}${prefix}/var
    3760}
    3861
    39 configure.args  --prefix=${destroot}/${prefix} \
    40                 --with-install-dir=${destroot}/${prefix}/lib/${name}-${version} \
    41                 --with-examples-dir=${destroot}/${prefix}/share/${name}-${version} \
    42                 --with-doc-dir=${destroot}/${prefix}/share/${name}-${version} \
    43                 --disable-regs  \
    44                 --with-c-flags="-O1 -fomit-frame-pointer"
    4562
    46 post-destroot   { cd ${destroot}/${prefix}/bin
    47 
    48                   file delete fd2c
    49                   file delete gplc
    50                   file delete gprolog
    51                   file delete hexgplc
    52                   file delete ma2asm
    53                   file delete pl2wam
    54                   file delete wam2ma
    55 
    56                   system "ln -s ../lib/${name}-${version}/bin/fd2c fd2c"
    57                   system "ln -s ../lib/${name}-${version}/bin/gplc gplc"
    58                   system "ln -s ../lib/${name}-${version}/bin/gprolog gprolog"
    59                   system "ln -s ../lib/${name}-${version}/bin/hexgplc hexgplc"
    60                   system "ln -s ../lib/${name}-${version}/bin/ma2asm ma2asm"
    61                   system "ln -s ../lib/${name}-${version}/bin/pl2wam pl2wam"
    62                   system "ln -s ../lib/${name}-${version}/bin/wam2ma wam2ma"
    63                 }
    64 
     63post-pkg {
     64        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
     65        file copy -force -- ${workpath}/${name}-${version}/COPYING ${resources}/License.txt
     66        file copy -force -- ${workpath}/${name}-${version}/README ${resources}/ReadMe.txt
     67}
Note: See TracChangeset for help on using the changeset viewer.