root/trunk/scripts/macosx/Portfile

Revision 4640, 3.2 KB (checked in by pmoura, 3 weeks ago)

Updated the Logtalk version number to 2.35.0 in preparation for the next release.

Improved compilation of source code resulting in smaller intermediate Prolog files and better performance for most back-end Prolog compilers (work in progress; meta-predicate support currently broken).

  • Property svn:eol-style set to native
Line 
1# $Id: Portfile 32263 2007-12-23 11:23:10Z ryandesign@macports.org $
2
3PortSystem  1.0
4name        logtalk
5version     2.35.0
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 dd4186355459fdd2dc1768d84bfa4be7
24
25distname        lgt[strsed ${version} {g/\.//}]
26
27use_bzip2       yes
28
29use_configure   no
30
31build           {}
32
33universal_variant   no
34
35destroot {
36    system "cd ${worksrcpath}/scripts && ./install.sh ${destroot}${prefix}"
37}
38
39post-pkg {
40    set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
41    file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/License.html ${resources}
42    file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/ReadMe.html ${resources}
43    file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/Welcome.html ${resources}
44    file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/postflight ${resources}
45}
46
47post-activate {
48    ui_msg "****************************************************************************"
49    ui_msg "* Integration scripts have been created for running Logtalk with selected"
50    ui_msg "* back-end Prolog compilers (which must be properly installed for running"
51    ui_msg "* the scripts!):"
52    ui_msg "*"
53    ui_msg "* B-Prolog (version 7.1 or later):         bplgt      (first run must use sudo)"
54    ui_msg "* CIAO (version 1.10#5 or later):          ciaolgt    (first run must use sudo)"
55    ui_msg "* CxProlog (version 0.97.2 or later):      cxlgt"
56    ui_msg "* ECLiPSe (versions 5.10, 6.0):            eclipselgt"
57    ui_msg "* GNU Prolog (version 1.3.0 or later):     gplgt"
58    ui_msg "* K-Prolog (version 5.1.x):                plclgt"
59    ui_msg "* Qu-Prolog (version 8.1 or later):        qplgt"
60    ui_msg "* Quintus Prolog (version 3.5):            quintuslgt  (implies patching Logtalk)"
61    ui_msg "* SICStus Prolog (versions 3.12.x, 4.0.x): sicstuslgt"
62    ui_msg "* SWI-Prolog (version 5.6.44 or later):    swilgt"
63    ui_msg "* XSB (version 3.1 or later):              xsblgt     (first run must use sudo)"
64    ui_msg "* XSB MT (CVS version):                    xsbmtlgt   (first run must use sudo)"
65    ui_msg "* XSB MT 64 bits (CVS version):            xsbmt64lgt (first run must use sudo)"
66    ui_msg "* YAP (version 5.1.3 or later):            yaplgt"
67    ui_msg "*"
68    ui_msg "* Remember to set the environment variable LOGTALKHOME to the path to"
69    ui_msg "* the Logtalk distribution: ${prefix}/share/logtalk"
70    ui_msg "* and the environment variable LOGTALKUSER to your local configuration"
71    ui_msg "* directory (usually ~/logtalk), which you must create by running the"
72    ui_msg "* command cplgtdirs. See the file \$LOGTALKHOME/CUSTOMIZE.txt for details"
73    ui_msg "* on how to customize your working environment."
74    ui_msg "****************************************************************************"
75}
Note: See TracBrowser for help on using the browser.