025dd6214f
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1974 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
74 lines
2.8 KiB
Plaintext
74 lines
2.8 KiB
Plaintext
# $Id: Portfile 26918 2007-07-11 15:28:15Z gwright@macports.org $
|
|
|
|
PortSystem 1.0
|
|
name logtalk
|
|
version 2.30.7
|
|
|
|
categories lang
|
|
maintainers pmoura@logtalk.org
|
|
platforms darwin freebsd linux
|
|
description Logtalk - Open source object-oriented logic programming language
|
|
|
|
long_description \
|
|
Logtalk is an open source object-oriented logic programming language \
|
|
that can use most Prolog implementations as a back-end compiler. \
|
|
As a multi-paradigm language, Logtalk includes support for both \
|
|
prototypes and classes, protocols, component-based programming \
|
|
through category-based composition, event-driven programming, and \
|
|
multi-threading programming.
|
|
|
|
homepage http://logtalk.org/
|
|
master_sites ${homepage}/files/
|
|
|
|
checksums md5 0653f6e2e10219111deed4b2096e6394
|
|
|
|
distname lgt2307
|
|
extract.suffix .tar.bz2
|
|
|
|
use_bzip2 yes
|
|
|
|
configure {}
|
|
|
|
build {}
|
|
|
|
destroot {
|
|
cd ${workpath}/${worksrcdir}/scripts
|
|
system "./install.sh ${destroot}/${prefix}"
|
|
}
|
|
|
|
post-pkg {
|
|
set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
|
|
file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/License.html ${resources}
|
|
file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/ReadMe.html ${resources}
|
|
file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/Welcome.html ${resources}
|
|
file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/postflight ${resources}
|
|
}
|
|
|
|
post-activate {
|
|
ui_msg "****************************************************************************"
|
|
ui_msg "* Integration scripts have been created for running Logtalk with selected"
|
|
ui_msg "* back-end Prolog compilers (which must be properly installed for running"
|
|
ui_msg "* the scripts!):"
|
|
ui_msg "*"
|
|
ui_msg "* B-Prolog: bplgt (first run must use sudo)"
|
|
ui_msg "* CIAO: ciaolgt (first run must use sudo)"
|
|
ui_msg "* CxProlog: cxlgt"
|
|
ui_msg "* ECLiPSe: eclipselgt"
|
|
ui_msg "* GNU Prolog: gplgt"
|
|
ui_msg "* K-Prolog: plclgt"
|
|
ui_msg "* Qu-Prolog: qplgt"
|
|
ui_msg "* SICStus Prolog: sicstuslgt"
|
|
ui_msg "* SWI-Prolog: swilgt"
|
|
ui_msg "* XSB: xsblgt (first run must use sudo)"
|
|
ui_msg "* XSB (MT): xsbmtlgt (first run must use sudo)"
|
|
ui_msg "* YAP: yaplgt"
|
|
ui_msg "*"
|
|
ui_msg "* Remember to set the environment variable LOGTALKHOME to the path to"
|
|
ui_msg "* the Logtalk distribution: ${prefix}/share/logtalk"
|
|
ui_msg "* and the environment variable LOGTALKUSER to your local configuration"
|
|
ui_msg "* directory (usually ~/logtalk), which you can create by running the"
|
|
ui_msg "* command cplgtdirs. See the file \$LOGTALKHOME/CUSTOMIZE.txt for details"
|
|
ui_msg "* on how to customize your working environment."
|
|
ui_msg "****************************************************************************"
|
|
}
|