[21050] trunk/dports/lang/logtalk/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Dec 28 01:37:39 PST 2006


Revision: 21050
          http://trac.macosforge.org/projects/macports/changeset/21050
Author:   gwright at macports.org
Date:     2006-12-28 01:37:39 -0800 (Thu, 28 Dec 2006)

Log Message:
-----------
Version bump to 2.29.1. Thanks to Paulo Moura!

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

Modified: trunk/dports/lang/logtalk/Portfile
===================================================================
--- trunk/dports/lang/logtalk/Portfile	2006-12-28 08:32:53 UTC (rev 21049)
+++ trunk/dports/lang/logtalk/Portfile	2006-12-28 09:37:39 UTC (rev 21050)
@@ -2,7 +2,7 @@
 
 PortSystem	1.0
 name		logtalk
-version		2.29.0
+version 2.29.1
 
 categories	lang
 maintainers	pmoura at mac.com
@@ -17,12 +17,12 @@
 		prototypes and classes. In addition, it supports component-	\
 		based programming through category-based composition.
 
-homepage        http://www.logtalk.org/
+homepage        http://logtalk.org/
 master_sites	${homepage}/files/
 
-checksums		md5 f710db6bcd2915b69b09630501fafc08
+checksums md5 06d03652500bab5a39df86153d2ab4b8
 
-distname		lgt2290
+distname lgt2291
 extract.suffix	.tgz
 
 configure	{}
@@ -36,28 +36,40 @@
 	system "cp -R ${workpath}/${worksrcdir}/* ."
 	system "chmod -R go-w,a+r ."
 	system "chmod a+x scripts/*.sh"
+	system "chmod a-x scripts/*.js"
+	system "chmod a+x scripts/linux/*.sh"
+	system "chmod a+x scripts/macosx/postflight"
 	system "chmod a+x xml/*.sh"
+	system "chmod a-x xml/*.js"
 }
 
 post-destroot	{
 	cd ${destroot}/${prefix}/share
 	system "ln -sf ${distname} logtalk"
 	cd ../bin
-	system "ln -sf ../share/${distname}/scripts/cplgtdirs.sh cplgtdirs"
-	system "ln -sf ../share/${distname}/xml/lgt2xml.sh lgt2xml"
-	system "ln -sf ../share/${distname}/xml/lgt2html.sh lgt2html"
-	system "ln -sf ../share/${distname}/xml/lgt2pdf.sh lgt2pdf"
-	system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_bplgt.sh ${destroot}/${prefix}"
-	system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_ciaolgt.sh ${destroot}/${prefix}"
-	system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_eclipselgt.sh ${destroot}/${prefix}"
-	system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_gplgt.sh ${destroot}/${prefix}"
-	system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_plclgt.sh ${destroot}/${prefix}"
-	system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_sicstuslgt.sh ${destroot}/${prefix}"
-	system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_swilgt.sh ${destroot}/${prefix}"
-	system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_xsblgt.sh ${destroot}/${prefix}"
-	system "export LOGTALKHOME=../share/${distname}; ../share/${distname}/scripts/make_yaplgt.sh ${destroot}/${prefix}"
+	system "ln -sf ../share/logtalk/scripts/cplgtdirs.sh cplgtdirs"
+	system "ln -sf ../share/logtalk/xml/lgt2xml.sh lgt2xml"
+	system "ln -sf ../share/logtalk/xml/lgt2html.sh lgt2html"
+	system "ln -sf ../share/logtalk/xml/lgt2pdf.sh lgt2pdf"
+	system "export LOGTALKHOME=../share/logtalk; ../share/logtalk/scripts/make_bplgt.sh ${destroot}/${prefix}"
+	system "export LOGTALKHOME=../share/logtalk; ../share/logtalk/scripts/make_ciaolgt.sh ${destroot}/${prefix}"
+	system "export LOGTALKHOME=../share/logtalk; ../share/logtalk/scripts/make_eclipselgt.sh ${destroot}/${prefix}"
+	system "export LOGTALKHOME=../share/logtalk; ../share/logtalk/scripts/make_gplgt.sh ${destroot}/${prefix}"
+	system "export LOGTALKHOME=../share/logtalk; ../share/logtalk/scripts/make_plclgt.sh ${destroot}/${prefix}"
+	system "export LOGTALKHOME=../share/logtalk; ../share/logtalk/scripts/make_sicstuslgt.sh ${destroot}/${prefix}"
+	system "export LOGTALKHOME=../share/logtalk; ../share/logtalk/scripts/make_swilgt.sh ${destroot}/${prefix}"
+	system "export LOGTALKHOME=../share/logtalk; ../share/logtalk/scripts/make_xsblgt.sh ${destroot}/${prefix}"
+	system "export LOGTALKHOME=../share/logtalk; ../share/logtalk/scripts/make_yaplgt.sh ${destroot}/${prefix}"
 }
 
+post-pkg {
+	set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
+	file copy -force -- ${destroot}/${prefix}/share/logtalk/scripts/macosx/License.html ${resources}
+	file copy -force -- ${destroot}/${prefix}/share/logtalk/scripts/macosx/ReadMe.html ${resources}
+	file copy -force -- ${destroot}/${prefix}/share/logtalk/scripts/macosx/Welcome.html ${resources}
+	file copy -force -- ${destroot}/${prefix}/share/logtalk/scripts/macosx/postflight ${resources}
+}
+
 post-activate {
 	ui_msg "****************************************************************************"
 	ui_msg "*  Integration scripts have been created for running Logtalk with selected"
@@ -75,10 +87,10 @@
 	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/${distname}"
+	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/INSTALL for details on"
-	ui_msg "* how to customize your working environment."
+	ui_msg "* command cplgtdirs. See the file \$LOGTALKHOME/CUSTOMIZE.TXT for details"
+	ui_msg "* on how to customize your working environment."
 	ui_msg "****************************************************************************"
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061228/8859b2b2/attachment.html


More information about the macports-changes mailing list