source: trunk/dports/lang/logtalk/Portfile @ 31023

Last change on this file since 31023 was 31023, checked in by ryandesign@…, 13 years ago

logtalk: maintainer update to fix version and distname and avoid doubled slash in download location

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# $Id: Portfile 31023 2007-11-14 02:46:55Z ryandesign@macports.org $
2
3PortSystem      1.0
4name            logtalk
5version         2.30.8
6
7categories      lang
8maintainers     pmoura@logtalk.org
9platforms       darwin freebsd linux
10description     Logtalk - Open source object-oriented logic programming language
11
12long_description        \
13                Logtalk is an open source object-oriented logic programming language    \
14                that can use most Prolog implementations as a back-end compiler.                \
15                As a multi-paradigm language, Logtalk includes support for both                 \
16                prototypes and classes, protocols, component-based programming                  \
17                through category-based composition, event-driven programming, and               \
18                multi-threading programming.
19
20homepage        http://logtalk.org/
21master_sites    ${homepage}files/
22
23checksums md5 b0f320850680a7456113fae3e2e86b01
24
25distname lgt2308
26
27use_bzip2 yes
28
29use_configure   no
30
31build           {}
32
33destroot        {
34        cd ${workpath}/${worksrcdir}/scripts
35        system "./install.sh ${destroot}/${prefix}"
36}
37
38post-pkg {
39        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
40        file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/License.html ${resources}
41        file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/ReadMe.html ${resources}
42        file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/Welcome.html ${resources}
43        file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/postflight ${resources}
44}
45
46post-activate {
47        ui_msg "****************************************************************************"
48        ui_msg "*  Integration scripts have been created for running Logtalk with selected"
49        ui_msg "*  back-end Prolog compilers (which must be properly installed for running"
50        ui_msg "*  the scripts!):"
51        ui_msg "*"
52        ui_msg "*    B-Prolog:       bplgt"
53        ui_msg "*    CIAO:           ciaolgt"
54        ui_msg "*    CxProlog:       cxlgt"
55        ui_msg "*    ECLiPSe:        eclipselgt"
56        ui_msg "*    GNU Prolog:     gplgt"
57        ui_msg "*    K-Prolog:       plclgt"
58        ui_msg "*    Qu-Prolog:      qplgt"
59        ui_msg "*    SICStus Prolog: sicstuslgt"
60        ui_msg "*    SWI-Prolog:     swilgt"
61        ui_msg "*    XSB:            xsblgt"
62        ui_msg "*    YAP:            yaplgt"
63        ui_msg "*"
64        ui_msg "* Remember to set the environment variable LOGTALKHOME to the path to"
65        ui_msg "* the Logtalk distribution: ${prefix}/share/logtalk"
66        ui_msg "* and the environment variable LOGTALKUSER to your local configuration"
67        ui_msg "* directory (usually ~/logtalk), which you can create by running the"
68        ui_msg "* command cplgtdirs. See the file \$LOGTALKHOME/CUSTOMIZE.txt for details"
69        ui_msg "* on how to customize your working environment."
70        ui_msg "****************************************************************************"
71}
Note: See TracBrowser for help on using the repository browser.