[42976] trunk/dports/lang/swi-prolog-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Dec 2 17:12:09 PST 2008


Revision: 42976
          http://trac.macports.org/changeset/42976
Author:   ryandesign at macports.org
Date:     2008-12-02 17:12:09 -0800 (Tue, 02 Dec 2008)
Log Message:
-----------
swi-prolog-devel: update to 5.7.3; see #16964

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

Modified: trunk/dports/lang/swi-prolog-devel/Portfile
===================================================================
--- trunk/dports/lang/swi-prolog-devel/Portfile	2008-12-03 01:10:45 UTC (rev 42975)
+++ trunk/dports/lang/swi-prolog-devel/Portfile	2008-12-03 01:12:09 UTC (rev 42976)
@@ -3,8 +3,8 @@
 PortSystem	1.0
 
 name		swi-prolog-devel
-version		5.5.36
-epoch		20050503
+version		5.7.3
+epoch		20051223
 
 categories	lang
 maintainers	wielemak at science.uva.nl pmoura at logtalk.org
@@ -15,6 +15,7 @@
 	ISO/Edinburgh-style Prolog compiler including modules,		\
 	autoload, libraries, Garbage-collector, stack-expandor,		\
 	C/C++-interface, Multiple threads, GNU-readline interface,	\
+	coroutining, constraint programming, global variables,		\
 	very fast compiler. Including packages clib (Unix process	\
 	control, sockets, MIME), cpp (C++ interface), sgml (reading	\
 	XML/SGML), sgml/RDF (reading RDF into triples), ODBC		\
@@ -24,34 +25,75 @@
 homepage	http://www.swi-prolog.org/
 master_sites	http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/BETA/
 
-checksums	md5	8bba7daab3d402a0d21d23e6cd15f045
+checksums       \
+        md5     25d8f900ca65493c3eb69546c6fb458f \
+        sha1    206284b645ab2cec66ebd01f2c0e93002c402578 \
+        rmd160  9d29ec5137660458f50d00cc1a3ac96f61b0c127
 
+depends_build   \
+	port:gawk	\
+	port:junit
+
 depends_lib		\
 	port:readline		\
 	port:ncurses		\
 	port:jpeg		\
 	port:libmcrypt		\
 	port:gmp		\
+	port:zlib		\
 	lib:libX11.6:XFree86
 
 platform darwin 6 {
 	depends_lib-append port:dlcompat
 }
 
+platform darwin 9 {
+	depends_lib-append port:expat
+}
+
 distname	pl-${version}
 
-configure.cflags-append "-I${prefix}/include"
-configure.env	CIFLAGS=-I${prefix}/include
+configure.env	\
+	LIBRARY_PATH=/usr/lib:${x11prefix}/lib:${prefix}/lib 	\
+	CPATH=/usr/include:${x11prefix}/include:${prefix}/include	\
+	JUNIT=${prefix}/share/java/junit.jar
 
+configure.ldflags
+
 configure.args	\
 	--mandir=${prefix}/share/man	\
 	--with-world
 
-build.env	LDFLAGS=-L${prefix}/lib		\
-		CFLAGS=-I${prefix}/include	\
-		CPPFLAGS=-I${prefix}/include	\
-		CIFLAGS=-I${prefix}/include
+build.env	\
+	LIBRARY_PATH=/usr/lib:${x11prefix}/lib:${prefix}/lib	\
+	CPATH=/usr/include:${x11prefix}/include:${prefix}/include	\
+	JUNIT=${prefix}/share/java/junit.jar
 
+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/
+}
+
+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
+}
+
 if {![variant_isset st]} {
 	default_variants +mt
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081202/a33a6820/attachment.html>


More information about the macports-changes mailing list