[119383] trunk/dports/lang/logtalk-devel/Portfile

mojca at macports.org mojca at macports.org
Thu Apr 24 08:24:44 PDT 2014


Revision: 119383
          https://trac.macports.org/changeset/119383
Author:   mojca at macports.org
Date:     2014-04-24 08:24:44 -0700 (Thu, 24 Apr 2014)
Log Message:
-----------
logtalk-devel: whitespace only

Modified Paths:
--------------
    trunk/dports/lang/logtalk-devel/Portfile

Modified: trunk/dports/lang/logtalk-devel/Portfile
===================================================================
--- trunk/dports/lang/logtalk-devel/Portfile	2014-04-24 15:21:38 UTC (rev 119382)
+++ trunk/dports/lang/logtalk-devel/Portfile	2014-04-24 15:24:44 UTC (rev 119383)
@@ -1,89 +1,89 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem	1.0
-name		logtalk-devel
-conflicts	logtalk
-version     3.00.0-b2
+PortSystem          1.0
+name                logtalk-devel
+conflicts           logtalk
+version             3.00.0-b2
 
-categories	lang
-maintainers	logtalk.org:pmoura
-license		GPL-3+
-platforms	darwin freebsd linux
-supported_archs noarch
+categories          lang
+maintainers         logtalk.org:pmoura
+license             GPL-3+
+platforms           darwin freebsd linux
+supported_archs     noarch
 
-description	Logtalk - Open source object-oriented logic programming language
+description         Logtalk - Open source object-oriented logic programming language
 
-long_description	\
-	Logtalk is an object-oriented logic programming language that can use most		\
-	Prolog implementations as a back-end compiler. As a multi-paradigm language,	\
-	it includes support for both prototypes and classes, protocols (interfaces),	\
-	component-based programming through category-based composition, event-driven	\
-	programming, and high-level multi-threading programming.
+long_description    Logtalk is an object-oriented logic programming language that can use most   \
+                    Prolog implementations as a back-end compiler. As a multi-paradigm language, \
+                    it includes support for both prototypes and classes, protocols (interfaces), \
+                    component-based programming through category-based composition, event-driven \
+                    programming, and high-level multi-threading programming.
 
-homepage		http://logtalk.org/
+homepage            http://logtalk.org/
 
-fetch.type      git
-git.url         git://github.com/LogtalkDotOrg/logtalk3.git
-git.branch      c457dd2f970ca7dfac48ae71910a0d913799f4e1
+fetch.type          git
+git.url             git://github.com/LogtalkDotOrg/logtalk3.git
+git.branch          c457dd2f970ca7dfac48ae71910a0d913799f4e1
 
-distname		logtalk-${version}
+distname            logtalk-${version}
 
-depends_lib		port:shared-mime-info
+depends_lib         port:shared-mime-info
 
-use_configure	no
+use_configure       no
 
-build			{}
+build               {}
 
 destroot {
-	system "cd ${worksrcpath}/scripts && ./install.sh -p ${destroot}${prefix}"
+    system "cd ${worksrcpath}/scripts && ./install.sh -p ${destroot}${prefix}"
 }
 
 post-destroot {
-	delete ${destroot}${prefix}/share/mime
+    delete ${destroot}${prefix}/share/mime
 }
 
 package.flat no
 
 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}
+    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 (version 7.8 or later):         bplgt"
-	ui_msg "* CxProlog (version 0.97.6 or later):      cxlgt"
-	ui_msg "* ECLiPSe (version 6.1#143 or later):      eclipselgt"
-	ui_msg "* GNU Prolog (version 1.4.1 or later):     gplgt"
-	ui_msg "* Qu-Prolog (version 9.0 or later):        qplgt"
-	ui_msg "* SICStus Prolog (version 4.1.0 or later): sicstuslgt"
-	ui_msg "* SWI-Prolog (version 6.0.0 or later):     swilgt"
-	ui_msg "* XSB (version 3.3 or later):              xsblgt     (first run must use sudo)"
-	ui_msg "* XSB 64 bits (version 3.3 or later):      xsb64lgt   (first run must use sudo)"
-	ui_msg "* XSB MT (version 3.3 or later):           xsbmtlgt   (first run must use sudo)"
-	ui_msg "* XSB MT 64 bits (version 3.3 or later):   xsbmt64lgt (first run must use sudo)"
-	ui_msg "* YAP (version 6.0.2 or later):            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 must create by running the"
-	ui_msg "* command logtalk_user_setup. See the file \$LOGTALKHOME/CUSTOMIZE.txt"
-	ui_msg "* for details on how to customize your working environment."
-	ui_msg "*"
-	if {[file exists ${prefix}/share/mime/packages/logtalk.xml]} {
-	    delete ${prefix}/share/mime/packages/logtalk.xml
-	}
-	xinstall -d ${prefix}/share/mime/packages
-	xinstall -m 644 ${prefix}/share/${distname}/scripts/freedesktop/logtalk.xml ${prefix}/share/mime/packages
-	system "${prefix}/bin/update-mime-database ${prefix}/share/mime; true"
-	ui_msg "* Added the Logtalk mime-type to the Shared MIME-info Database."
-	ui_msg "****************************************************************************"
+    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 (version 7.8 or later):         bplgt"
+    ui_msg "* CxProlog (version 0.97.6 or later):      cxlgt"
+    ui_msg "* ECLiPSe (version 6.1#143 or later):      eclipselgt"
+    ui_msg "* GNU Prolog (version 1.4.1 or later):     gplgt"
+    ui_msg "* Qu-Prolog (version 9.0 or later):        qplgt"
+    ui_msg "* SICStus Prolog (version 4.1.0 or later): sicstuslgt"
+    ui_msg "* SWI-Prolog (version 6.0.0 or later):     swilgt"
+    ui_msg "* XSB (version 3.3 or later):              xsblgt     (first run must use sudo)"
+    ui_msg "* XSB 64 bits (version 3.3 or later):      xsb64lgt   (first run must use sudo)"
+    ui_msg "* XSB MT (version 3.3 or later):           xsbmtlgt   (first run must use sudo)"
+    ui_msg "* XSB MT 64 bits (version 3.3 or later):   xsbmt64lgt (first run must use sudo)"
+    ui_msg "* YAP (version 6.0.2 or later):            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 must create by running the"
+    ui_msg "* command logtalk_user_setup. See the file \$LOGTALKHOME/CUSTOMIZE.txt"
+    ui_msg "* for details on how to customize your working environment."
+    ui_msg "*"
+    if {[file exists ${prefix}/share/mime/packages/logtalk.xml]} {
+        delete ${prefix}/share/mime/packages/logtalk.xml
+    }
+    xinstall -d ${prefix}/share/mime/packages
+    xinstall -m 644 ${prefix}/share/${distname}/scripts/freedesktop/logtalk.xml ${prefix}/share/mime/packages
+    system "${prefix}/bin/update-mime-database ${prefix}/share/mime; true"
+    ui_msg "* Added the Logtalk mime-type to the Shared MIME-info Database."
+    ui_msg "****************************************************************************"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140424/4e9b9492/attachment.html>


More information about the macports-changes mailing list