[22374] trunk/dports/devel/m4/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 27 11:12:18 PST 2007


Revision: 22374
          http://trac.macosforge.org/projects/macports/changeset/22374
Author:   pipping at macports.org
Date:     2007-02-27 11:12:17 -0800 (Tue, 27 Feb 2007)

Log Message:
-----------
 * bump to version 1.4.8
 * replace ugly variant 'normal_install_names' with 'without_prefix'
 * cleanup

Modified Paths:
--------------
    trunk/dports/devel/m4/Portfile

Modified: trunk/dports/devel/m4/Portfile
===================================================================
--- trunk/dports/devel/m4/Portfile	2007-02-27 19:11:45 UTC (rev 22373)
+++ trunk/dports/devel/m4/Portfile	2007-02-27 19:12:17 UTC (rev 22374)
@@ -1,34 +1,35 @@
 PortSystem 1.0
-name		m4
-version		1.4.4
-categories	devel
-maintainers	blair at orcaware.com openmaintainer at macports.org
-platforms	darwin
-description	GNU macro processor 
-long_description	GNU `m4' is an implementation of the traditional Unix \
-			macro processor.  It is mostly SVR4 compatible, \
-			although it has some extensions (for example, \
-			handling more than 9 positional parameters to macros).\
-			`m4' also has built-in functions for including files,\
-			running shell commands, doing arithmetic, etc. \
-			Autoconf needs GNU `m4' for generating `configure' \
-			scripts, but not for running them.
-homepage	http://www.gnu.org/software/m4/
-master_sites	gnu
-use_bzip2	yes
-checksums	md5 eb93bfbcb12cf00165583302bb31a822 \
-		sha1 47f8118e87cc31021c167ad6f92a0d5133a84046 \
-		rmd160 1417a7cc768a32469a1f7a51c6b8f488dd87a6f9
-configure.args	--infodir=${prefix}/share/info --program-prefix=g
+name            m4
+version         1.4.8
+categories      devel
+maintainers     blair at orcaware.com openmaintainer at macports.org
+platforms       darwin
+description     GNU macro processor 
+long_description \
+    GNU `m4' is an implementation of the traditional Unix macro         \
+    processor.  It is mostly SVR4 compatible, although it has some      \
+    extensions (for example, handling more than 9 positional parameters \
+    to macros). `m4' also has built-in functions for including files,   \
+    running shell commands, doing arithmetic, etc. Autoconf needs GNU   \
+    `m4' for generating `configure' scripts, but not for running them.
+homepage        http://www.gnu.org/software/m4/
+master_sites    gnu
+use_bzip2       yes
+checksums       md5 6bbf917e5d8fab20b38d43868c3944d3 \
+                sha1 31589415022c2842f62f3b91186bc9e0a9a8e1a1 \
+                rmd160 7c95b5b16ddc635439da07d25906c1e91043ee68
+configure.args  --infodir=${prefix}/share/info \
+                --program-prefix=g
 
-test.run	yes
-test.target	check
+test.run        yes
+test.target     check
 
-post-destroot {
-	if {[variant_isset normal_install_names]} {
-		system "cd ${destroot}${prefix}/bin && for f in g*; do ln -s \$f `echo \$f | sed -e 's/^g//'`; done"
-	}
+variant without_prefix {
+    post-destroot {
+        cd ${destroot}${prefix}/bin
+        foreach a [glob g*] {
+            regexp g(.+) $a crap b
+            file link $b g$b
+        }
+    }
 }
-
-variant normal_install_names {
-}

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


More information about the macports-changes mailing list