Changeset 12354


Ignore:
Timestamp:
May 23, 2005, 10:59:45 PM (15 years ago)
Author:
gwright
Message:

Version bump to 2.25.0. Thanks to Paulo Moura!
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

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

    r11977 r12354  
    1 # $Id: Portfile,v 1.27 2005/04/23 21:27:26 gwright Exp $
     1# $Id: Portfile,v 1.28 2005/05/23 22:59:45 gwright Exp $
    22
    33PortSystem      1.0
    44name            logtalk
    5 version         2.24.0
     5version         2.25.0
    66
    77categories      lang
     
    2121master_sites    ${homepage}/files/
    2222
    23 checksums               md5 600444371b64976ad09f733334476a4c
     23checksums               md5 12188791e7b80a4bd1ff8ef251453a2c
    2424
    25 distname                lgt2240
     25distname                lgt2250
    2626extract.suffix  .tgz
    2727
     
    4343        cd ${destroot}/${prefix}/share
    4444        system "ln -sf ${distname} logtalk"
    45 
    4645        cd ../bin
    47         system "ln -sf ../share/${distname}/misc/cplgtdirs.sh cplgtdirs"
     46        system "ln -sf ../share/${distname}/scripts/cplgtdirs.sh cplgtdirs"
     47        system "ln -sf ../share/${distname}/xml/lgt2xml.sh lgt2xml"
    4848        system "ln -sf ../share/${distname}/xml/lgt2html.sh lgt2html"
    4949        system "ln -sf ../share/${distname}/xml/lgt2pdf.sh lgt2pdf"
    50 
    51         if {[variant_isset gprolog]} {
    52                 system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_gplgt.sh ${prefix}"
    53                 ui_msg "*******************************************************"
    54                 ui_msg "*  In order to run Logtalk using GNU-Prolog as the    *"
    55                 ui_msg "*  back-end Prolog compiler simply call the program   *"
    56                 ui_msg "*  gplgt from the command line.                       *"
    57                 ui_msg "*******************************************************"
    58         }
    59 
    60         if {[variant_isset swi-prolog]} {
    61                 system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_swilgt.sh ${prefix}"
    62                 ui_msg "*******************************************************"
    63                 ui_msg "*  In order to run Logtalk using SWI-Prolog as the    *"
    64                 ui_msg "*  back-end Prolog compiler simply run the script     *"
    65                 ui_msg "*  swilgt from the command line.                      *"
    66                 ui_msg "*******************************************************"
    67         }
    68 
    69         if {[variant_isset yap]} {
    70                 system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_yaplgt.sh ${prefix}"
    71                 ui_msg "*******************************************************"
    72                 ui_msg "*  In order to run Logtalk using YAP as the back-end  *"
    73                 ui_msg "*  Prolog compiler simply run the script yaplgt from  *"
    74                 ui_msg "*  the command line.                                  *"
    75                 ui_msg "*******************************************************"
    76         }
     50        cd ../share/${distname}/scripts
     51        system "export LOGTALKHOME=${destroot}/${prefix}/share/${distname}; ./makeall_lgt.sh ${destroot}/${prefix}"
    7752}
    7853
    79 variant gprolog {
    80         depends_lib-append bin:gplc:gprolog
     54post-activate {
     55        ui_msg "****************************************************************************"
     56        ui_msg "*  Integration scripts have been created for running Logtalk with selected"
     57        ui_msg "*  back-end Prolog compilers (which must be properly installed for running"
     58        ui_msg "*  the scripts!):"
     59        ui_msg "*"
     60        ui_msg "*    CIAO:           ciaolgt"
     61        ui_msg "*    ECLiPSe:        eclipselgt"
     62        ui_msg "*    GNU Prolog:     gplgt"
     63        ui_msg "*    K-Prolog:       plclgt"
     64        ui_msg "*    SICStus Prolog: sicstuslgt"
     65        ui_msg "*    SWI-Prolog:     swilgt"
     66        ui_msg "*    XSB:            xsblgt"
     67        ui_msg "*    YAP:            yaplgt"
     68        ui_msg "*"
     69        ui_msg "* Remember to set the environment variable LOGTALKHOME to the path to"
     70        ui_msg "* the Logtalk distribution: ${prefix}/share/${distname}"
     71        ui_msg "* and the environment variable LOGTALKUSER to your local configuration"
     72        ui_msg "* directory (usually ~/logtalk), which you can create by running the"
     73        ui_msg "* command cplgtdirs. See the file \$LOGTALKHOME/INSTALL for details on"
     74        ui_msg "* how to customize your working environment."
     75        ui_msg "****************************************************************************"
    8176}
    82 
    83 variant swi-prolog      {
    84         depends_lib-append bin:swipl:swi-prolog
    85 }
    86 
    87 variant yap     {
    88         depends_lib-append bin:yap:yap
    89 }
    90 
    91 post-activate   { ui_msg "Remember to set the environment variables LOGTALKHOME to the path to the"
    92                   ui_msg "logtalk distribution (usually ${prefix}/share/${distname})"
    93                   ui_msg "and LOGTALKUSER to your local configuration directory."
    94 }
    95 
Note: See TracChangeset for help on using the changeset viewer.