[42245] trunk/dports/lang/strategoxt/Portfile

pguyot at kallisys.net pguyot at kallisys.net
Mon Nov 17 00:04:59 PST 2008


Revision: 42245
          http://trac.macports.org/changeset/42245
Author:   pguyot at kallisys.net
Date:     2008-11-17 00:04:57 -0800 (Mon, 17 Nov 2008)
Log Message:
-----------
lang/strategoxt: update to 0.17pre (fixes #17145)

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

Modified: trunk/dports/lang/strategoxt/Portfile
===================================================================
--- trunk/dports/lang/strategoxt/Portfile	2008-11-17 07:51:24 UTC (rev 42244)
+++ trunk/dports/lang/strategoxt/Portfile	2008-11-17 08:04:57 UTC (rev 42245)
@@ -2,52 +2,20 @@
 
 PortSystem			1.0
 name				strategoxt
-version				0.9.4
-revision			1
-
+version				0.17pre18253
 description			Stratego language with the XT bundle.
 long_description	StrategoXT is the combination of the Stratego language for \
 					strategic programming with the XT bundle of transformation \
 					tools.
 platforms			darwin
 categories			lang
-maintainers			pguyot at kallisys.net
-homepage			http://www.stratego-language.org/Stratego/StrategoXT
-master_sites		ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/
-checksums			md5 b61aee784cebac6cce0d96383bdb1b37
+maintainers			pguyot at kallisys.net openmaintainer
+homepage			http://strategoxt.org/Stratego/StrategoXT
+master_sites		http://releases.strategoxt.org/strategoxt/strategoxt-${version}-i9sd1ni4/
+checksums			md5 bbc7b74bce4286aa4b91cc98c8d3c2cf \
+					sha1 436e7b602334174497525a4b2025ecab240bacec \
+					rmd160 a826a920982b01ecab4709b2e39ebfdaf2de6ff2
 build.type			gnu
-depends_lib			lib:libATerm:libaterm \
-					lib:libSDF2PT:sdf2-bundle
+depends_lib			port:libaterm \
+					port:sdf2-bundle
 configure.args		--mandir=${prefix}/share/man
-
-# We don't have the -gcc version of ATerm library installed.
-# We patch Makefile.{in,xt,ext} files.
-post-patch {
-	# Function to recursively walk the tree and fix every Makefile.in.
-	#
-	# param: a full or relative path to the directory to walk.
-	proc fixATerm { directory } {
-		set pwd [pwd]
-		cd $directory
-		
-		# Iterate on elements in this directory.
-		foreach name [readdir .] {
-			# Skip . and .. to avoid looping forever
-			if {$name == "." || $name == ".."} {
-				continue
-			}
-			if {[file isdirectory $name]} {
-				fixATerm $name
-			} else {
-				if {[string match "Makefile.*" $name]} {
-					# Replace -lATerm-gcc with -lATerm
-					reinplace "s|-lATerm-gcc|-lATerm|g" $name
-				}
-			}
-		}
-		cd $pwd
-	}
-
-	# Fix all Makefile.{in,xt,ext} in the archive.
-	fixATerm ${worksrcpath}
-}
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081117/28296fe4/attachment-0001.html>


More information about the macports-changes mailing list