[33617] trunk/dports/lang/swi-prolog-lite/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jan 31 08:48:33 PST 2008


Revision: 33617
          http://trac.macosforge.org/projects/macports/changeset/33617
Author:   ryandesign at macports.org
Date:     2008-01-31 08:47:58 -0800 (Thu, 31 Jan 2008)

Log Message:
-----------
swi-prolog-lite: update to 5.6.49 to bring it in sync with swi-prolog; closes #13980 and #13822.

Modified Paths:
--------------
    trunk/dports/lang/swi-prolog-lite/Portfile

Modified: trunk/dports/lang/swi-prolog-lite/Portfile
===================================================================
--- trunk/dports/lang/swi-prolog-lite/Portfile	2008-01-31 16:47:12 UTC (rev 33616)
+++ trunk/dports/lang/swi-prolog-lite/Portfile	2008-01-31 16:47:58 UTC (rev 33617)
@@ -2,10 +2,10 @@
 
 PortSystem 	1.0
 name		swi-prolog-lite
-version		5.6.12
+version		5.6.49
 
 categories	lang
-maintainers	pmoura at mac.com
+maintainers	wielemak at science.uva.nl pmoura at logtalk.org
 platforms	darwin
 description	SWI-Prolog compiler (without extra packages)
 
@@ -20,26 +20,60 @@
 		(Emacs-clone) and graphical debugger).
 
 homepage	http://www.swi-prolog.org/
-master_sites	http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/ \
-			ftp://gollem.science.uva.nl/SWI-Prolog/
+
+master_sites	http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/
+
 dist_subdir	swi-prolog
-checksums	sha1 198c14553ae9602213289fb43e532c30ea8cab1c
 
+checksums	md5     5f59ce2dd2df2c073120f25205371ddf
+
 depends_lib	port:readline
 
 distname	pl-${version}
 worksrcdir 	pl-${version}/src
 
-configure.cflags-append "-I${prefix}/include"
-configure.env	CIFLAGS="-I${prefix}/include"
+configure.args	\
+	--prefix=${prefix}				\
+	--mandir=${prefix}/share/man	\
+	--disable-gmp \
+	--enable-shared \
+	--enable-mt
 
-configure.args	--mandir=/${prefix}/share/man \
-		--disable-gmp \
-		--enable-shared \
-		--enable-mt
+platform darwin 6 {
+	depends_lib-append lib:libdl:dlcompat
+}
 
-variant st	{ configure.args-delete --enable-mt
-		configure.args-append --disable-mt }
+post-build {
+	file mkdir ${workpath}/macosx
+	file copy -force -- ${workpath}/pl-${version}/man/macosx/License.html ${workpath}/macosx/
+	file copy -force -- ${workpath}/pl-${version}/man/macosx/macosx.html ${workpath}/macosx/
+	file copy -force -- ${workpath}/pl-${version}/man/macosx/Welcome.html ${workpath}/macosx/
+}
 
-platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
+post-pkg {
+	set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
+	file copy -force -- ${workpath}/macosx/License.html ${resources}
+	file copy -force -- ${workpath}/macosx/macosx.html ${resources}
+	file copy -force -- ${workpath}/macosx/Welcome.html ${resources}
+	file rename ${resources}/macosx.html ${resources}/ReadMe.html
+	file delete -force -- ${resources}/Welcome.rtf
+}
 
+post-mpkg {
+	set resources ${workpath}/${name}-${version}.mpkg/Contents/Resources/
+	file copy -force -- ${workpath}/macosx/License.html ${resources}
+	file copy -force -- ${workpath}/macosx/macosx.html ${resources}
+	file copy -force -- ${workpath}/macosx/Welcome.html ${resources}
+	file rename ${resources}/macosx.html ${resources}/ReadMe.html
+	file delete -force -- ${resources}/Welcome.rtf
+}
+
+default_variants +mt
+
+variant st {
+	configure.args-append --disable-mt
+}
+
+variant mt {
+	configure.args-append --enable-mt
+}

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


More information about the macports-changes mailing list