[24074] trunk/dports/cross/mips-rtems-binutils

source_changes at macosforge.org source_changes at macosforge.org
Sun Apr 15 22:06:15 PDT 2007


Revision: 24074
          http://trac.macosforge.org/projects/macports/changeset/24074
Author:   pguyot at kallisys.net
Date:     2007-04-15 22:06:15 -0700 (Sun, 15 Apr 2007)

Log Message:
-----------
cross/mips-rtems-binutils: update to 2.17, add livecheck

Modified Paths:
--------------
    trunk/dports/cross/mips-rtems-binutils/Portfile

Removed Paths:
-------------
    trunk/dports/cross/mips-rtems-binutils/files/

Modified: trunk/dports/cross/mips-rtems-binutils/Portfile
===================================================================
--- trunk/dports/cross/mips-rtems-binutils/Portfile	2007-04-16 05:05:51 UTC (rev 24073)
+++ trunk/dports/cross/mips-rtems-binutils/Portfile	2007-04-16 05:06:15 UTC (rev 24074)
@@ -2,8 +2,7 @@
 
 PortSystem			1.0
 name				mips-rtems-binutils
-version				2.14
-revision			1
+version				2.17
 
 # Parameters for this port.
 set crossgcc-target mips-rtems
@@ -19,7 +18,9 @@
 master_sites		gnu:binutils
 distname			binutils-${version}
 use_bzip2			yes
-checksums			md5 2da8def15d28af3ec6af0982709ae90a
+checksums			md5 e26e2e06b6e4bf3acf1dc8688a94c0d1 \
+					sha1 a557686eef68362ea31a3aa41ce274e3eeae1ef0 \
+					rmd160 3995d7ed97f115e76ce55b4c1f5256d53559c84f
 
 # Download everything to binutils/
 dist_subdir			binutils
@@ -33,25 +34,12 @@
 					--program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man'
 build.dir       	${workpath}/build
 
-# Patches to make sure that message files are destrooted and to use
-# ${crossgcc-target}-dir as the info-dir
-patchfiles			patch-bfd-po-Make-in \
-					patch-binutils-po-Make-in \
-					patch-gas-po-Make-in \
-					patch-gprof-po-Make-in \
-					patch-ld-po-Make-in \
-					patch-opcodes-po-Make-in \
-					patch-bfd-doc-Makefile.in \
-					patch-binutils-doc-Makefile.in \
-					patch-gas-doc-Makefile.in \
-					patch-ld-Makefile.in
-
 # We don't want the etc module.
 post-extract {
 	system "rm -rf ${worksrcpath}/etc"
 }
 
-post-patch {
+patch {
 	namespace eval crossgcc {}
 
 	# Fix the info pages and related stuff.
@@ -83,7 +71,7 @@
 		
 		# Fix install-info's dir.
 		# (note: this may be effectless if there was no info dir to be fixed)
-		reinplace "s|__TARGET|${crossgcc-target}|g" \
+		reinplace "s|--info-dir=\$(DESTDIR)\$(infodir)|--dir-file=\$(DESTDIR)\$(infodir)/${crossgcc-target}-dir|g" \
 			"${worksrcpath}/${makefile}"
 	}
 
@@ -135,3 +123,6 @@
 	# Installing (host) libiberty was a mistake.
 	file delete "${destroot}/${prefix}/lib/libiberty.a"
 }
+
+livecheck.check	freshmeat
+livecheck.name	binutils

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


More information about the macports-changes mailing list