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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem      1.0
4name            logtalk
5version 2.36.0
6
7categories      lang
8maintainers     logtalk.org:pmoura
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 29f988ef86fda4873f782790dbc0b9c9
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):                     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.1 or later):     gplgt"
58        ui_msg "* K-Prolog (versions 5.1.5, 6.0.4):        plclgt"
59        ui_msg "* Qu-Prolog (version 8.1 or later):        qplgt"
60        ui_msg "* Quintus Prolog (version 3.5):            quintuslgt  (requires 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.2 or later):              xsblgt     (first run must use sudo)"
64        ui_msg "* XSB MT (version 3.2 or later):           xsbmtlgt   (first run must use sudo)"
65        ui_msg "* XSB MT 64 bits (version 3.2 or later):   xsbmt64lgt (first run must use sudo)"
66        ui_msg "* YAP (version 5.1.3 or later):            yaplgt"
67        ui_msg "*"
68        ui_msg "* Integration with Quintus Prolog requires manual patches that render"
69        ui_msg "* Logtalk incompatible with all the other compilers."
70        ui_msg "*"
71        ui_msg "* Remember to set the environment variable LOGTALKHOME to the path to"
72        ui_msg "* the Logtalk distribution: ${prefix}/share/logtalk"
73        ui_msg "* and the environment variable LOGTALKUSER to your local configuration"
74        ui_msg "* directory (usually ~/logtalk), which you must create by running the"
75        ui_msg "* command cplgtdirs. See the file \$LOGTALKHOME/CUSTOMIZE.txt for details"
76        ui_msg "* on how to customize your working environment."
77        ui_msg "****************************************************************************"
78}
Note: See TracBrowser for help on using the repository browser.