[33572] trunk/dports

nox at macports.org nox at macports.org
Wed Jan 30 06:21:36 PST 2008


Revision: 33572
          http://trac.macosforge.org/projects/macports/changeset/33572
Author:   nox at macports.org
Date:     2008-01-30 06:21:35 -0800 (Wed, 30 Jan 2008)

Log Message:
-----------
gsed, octave, quilt, teTeX (closes #13379): gsed port now creates a "gsed" binary instead of gnused.

Modified Paths:
--------------
    trunk/dports/devel/quilt/Portfile
    trunk/dports/math/octave/Portfile
    trunk/dports/print/teTeX/Portfile
    trunk/dports/textproc/gsed/Portfile

Modified: trunk/dports/devel/quilt/Portfile
===================================================================
--- trunk/dports/devel/quilt/Portfile	2008-01-30 14:05:08 UTC (rev 33571)
+++ trunk/dports/devel/quilt/Portfile	2008-01-30 14:21:35 UTC (rev 33572)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name              quilt
 version           0.46
+revision          1
 categories        devel
 platforms         darwin
 maintainers       root.id.au:josh+macports \
@@ -22,5 +23,5 @@
 
 depends_lib port:gsed port:getopt port:coreutils
 
-configure.args --with-sed=${prefix}/bin/gnused
+configure.args --with-sed=${prefix}/bin/gsed
 destroot.destdir prefix=${destroot}${prefix}

Modified: trunk/dports/math/octave/Portfile
===================================================================
--- trunk/dports/math/octave/Portfile	2008-01-30 14:05:08 UTC (rev 33571)
+++ trunk/dports/math/octave/Portfile	2008-01-30 14:21:35 UTC (rev 33572)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name		octave
 version		2.9.15
+revision    1
 categories	math science
 maintainers     stechert at macports.org
 platforms	darwin
@@ -49,9 +50,9 @@
 		--with-blas="-framework Accelerate"
 
 configure.env-append	AWK="${prefix}/bin/gawk" \
-			SED="${prefix}/bin/gnused"
+			SED="${prefix}/bin/gsed"
 build.env-append	AWK="${prefix}/bin/gawk" \
-			SED="${prefix}/bin/gnused"
+			SED="${prefix}/bin/gsed"
 
 post-patch {
 	# Avoid using heimdal's broken fnmatch.h

Modified: trunk/dports/print/teTeX/Portfile
===================================================================
--- trunk/dports/print/teTeX/Portfile	2008-01-30 14:05:08 UTC (rev 33571)
+++ trunk/dports/print/teTeX/Portfile	2008-01-30 14:21:35 UTC (rev 33572)
@@ -3,8 +3,8 @@
 PortSystem 1.0
 name			teTeX
 version			3.0
-revision		4
-epoch			20050216
+revision		5
+epoch			20080130
 categories		print textproc
 maintainers		gwright at macports.org
 description		TeX and METAFONT
@@ -58,9 +58,9 @@
 		  # can be triggered if MacPorts is installed in a
 		  # nonstandard location:
 
-		  reinplace "s|sed -f|${prefix}/bin/gnused -f|g" ${workpath}/${worksrcdir}/texk/make/man.mk
-		  reinplace "s|sed -n|${prefix}/bin/gnused -n|g" ${workpath}/${worksrcdir}/texk/make/man.mk
-		  reinplace "s|sed -e|${prefix}/bin/gnused -e|g" ${workpath}/${worksrcdir}/texk/make/man.mk
+		  reinplace "s|sed -f|${prefix}/bin/gsed -f|g" ${workpath}/${worksrcdir}/texk/make/man.mk
+		  reinplace "s|sed -n|${prefix}/bin/gsed -n|g" ${workpath}/${worksrcdir}/texk/make/man.mk
+		  reinplace "s|sed -e|${prefix}/bin/gsed -e|g" ${workpath}/${worksrcdir}/texk/make/man.mk
 		}
 
 depends_build		port:gawk		\

Modified: trunk/dports/textproc/gsed/Portfile
===================================================================
--- trunk/dports/textproc/gsed/Portfile	2008-01-30 14:05:08 UTC (rev 33571)
+++ trunk/dports/textproc/gsed/Portfile	2008-01-30 14:21:35 UTC (rev 33572)
@@ -5,7 +5,7 @@
 name            gsed
 set my_name     sed
 version         4.1.5
-revision        2
+revision        3
 categories      textproc
 platforms       darwin
 maintainers     nox
@@ -34,13 +34,13 @@
 
 configure.args  --infodir=${prefix}/share/info \
                 --mandir=${prefix}/share/man \
-                --program-prefix=gnu
+                --program-prefix=g
 
 set docdir      ${prefix}/share/doc/${my_name}-${version}
 
 post-destroot {
     foreach i [glob -tails -directory ${destroot}${prefix}/share/info *.info*] {
-        move ${destroot}${prefix}/share/info/${i} ${destroot}${prefix}/share/info/gnu${i}
+        move ${destroot}${prefix}/share/info/${i} ${destroot}${prefix}/share/info/g${i}
     }
 
     xinstall -d ${destroot}${docdir}
@@ -51,18 +51,12 @@
 test.run        yes
 test.target     check
 
-variant with_default_names description {Install files without 'gnu' prefix} {
+variant with_default_names description {Install files without 'g' prefix} {
     post-destroot {
-        foreach d {bin share/info share/man/man1} {
-            foreach a [glob -tails -directory ${destroot}${prefix}/${d} gnu*] {
-                regexp gnu(.+) $a dummy b
-                ln ${destroot}${prefix}/${d}/gnu${b} ${destroot}${prefix}/${d}/${b}
+        foreach {d} {bin share/info share/man/man1} {
+            foreach {a} [glob -nocomplain -directory ${destroot}${prefix}/${d} g*] {
+                ln ${destroot}${prefix}/${d}/[string range [file tail ${a}] 1 end] ${a}
             }
         }
     }
 }
-
-livecheck.check regex
-livecheck.url   http://ftp.gnu.org/gnu/${my_name}/?C=M&O=D
-livecheck.regex ${my_name}-(\\d+\\.\\d+\\.\\d+)
-

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


More information about the macports-changes mailing list