[41424] trunk/dports/cross/powerpc-rtems-binutils/Portfile

pguyot at kallisys.net pguyot at kallisys.net
Sun Nov 2 02:53:06 PST 2008


Revision: 41424
          http://trac.macports.org/changeset/41424
Author:   pguyot at kallisys.net
Date:     2008-11-02 02:53:06 -0800 (Sun, 02 Nov 2008)
Log Message:
-----------
cross/powerpc-rtems-binutils: update to 2.18

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

Modified: trunk/dports/cross/powerpc-rtems-binutils/Portfile
===================================================================
--- trunk/dports/cross/powerpc-rtems-binutils/Portfile	2008-11-02 10:52:46 UTC (rev 41423)
+++ trunk/dports/cross/powerpc-rtems-binutils/Portfile	2008-11-02 10:53:06 UTC (rev 41424)
@@ -1,11 +1,13 @@
 # $Id$
 
 PortSystem			1.0
+
 name				powerpc-rtems-binutils
-version				2.17
+version				2.18
 
 # Parameters for this port.
 set crossgcc-target powerpc-rtems
+set rtemsversion	4.9
 
 description			FSF Binutils for powerpc-rtems cross development
 long_description	Free Software Foundation development toolchain ("binutils") for \
@@ -13,15 +15,31 @@
 					5xx, 6xx, 7xx, 8xx, 74xx, and 75xx)
 platforms			darwin
 categories			cross devel
-maintainers			pguyot at kallisys.net
+maintainers			pguyot at kallisys.net openmaintainer
 homepage			http://www.gnu.org/software/binutils/binutils.html
-master_sites		gnu:binutils
+master_sites		gnu:binutils:binutils \
+					http://www.rtems.com/ftp/pub/rtems/SOURCES/${rtemsversion}/:rtems \
+					ftp://ftp.rtems.com/pub/rtems/SOURCES/${rtemsversion}/:rtems \
+					macports:pguyot:rtems
 distname			binutils-${version}
+distfiles			binutils-${version}.tar.bz2:binutils
 use_bzip2			yes
 checksums			md5 e26e2e06b6e4bf3acf1dc8688a94c0d1 \
 					sha1 a557686eef68362ea31a3aa41ce274e3eeae1ef0 \
 					rmd160 3995d7ed97f115e76ce55b4c1f5256d53559c84f
+checksums           binutils-${version}.tar.bz2 \
+                    	md5     9d22ee4dafa3a194457caf4706f9cf01 \
+                    	sha1    fdec92e9dfc6c32155869f3910f47041c78e2277 \
+                    	rmd160  78d07475667c55ecbf9068dbb90362a3445b2a99 \
+                    binutils-${version}-rtems${rtemsversion}-20080211.diff \
+                    	md5     5417bb3ff14da49c87c05a881a405166 \
+                    	sha1    ddc5236c3c627596df2426b78c770ae958fbb4c7 \
+                    	rmd160  73c6a64b322fcd35ff13a0254b416dce19428c8b
+patchfiles			binutils-${version}-rtems${rtemsversion}-20080211.diff:rtems
+patch.pre_args		-p1
 
+depends_lib			port:gettext
+
 # All cross ports violate the mtree layout.
 destroot.violate_mtree	yes
 
@@ -42,11 +60,11 @@
 	system "rm -rf ${worksrcpath}/etc"
 }
 
-patch {
+post-patch {
 	namespace eval crossgcc {}
 
 	# Fix the info pages and related stuff.
-	#	
+	#
 	# path: path to the doc directory (e.g. gas/doc/)
 	# makefile: path to Makefile.in (e.g. gas/doc/Makefile.in)
 	# name: name of the info page (e.g. as)
@@ -61,17 +79,17 @@
 			${worksrcpath}/${path}/${name}.${suffix}
 		reinplace "s|@file{${name}}|@file{${crossgcc-target}-${name}}|g" \
 			${worksrcpath}/${path}/${name}.${suffix}
-		
+
 		# Fix the Makefile
 		reinplace "s|${name}.info|${crossgcc-target}-${name}.info|g" \
 			${worksrcpath}/${makefile}
 		reinplace "s|${name}.${suffix}|${crossgcc-target}-${name}.${suffix}|g" \
 			${worksrcpath}/${makefile}
-		
+
 		# Rename the source
 		file rename ${worksrcpath}/${path}/${name}.${suffix} \
 			${worksrcpath}/${path}/${crossgcc-target}-${name}.${suffix}
-		
+
 		# Fix install-info's dir.
 		# (note: this may be effectless if there was no info dir to be fixed)
 		reinplace "s|--info-dir=\$(DESTDIR)\$(infodir)|--dir-file=\$(DESTDIR)\$(infodir)/${crossgcc-target}-dir|g" \
@@ -79,7 +97,7 @@
 	}
 
 	# Fix the gettext files and related stuff.
-	#	
+	#
 	# module: name of the module (e.g. gas)
 	proc crossgcc::fixgettext { module } {
 		global crossgcc-target worksrcpath
@@ -112,7 +130,7 @@
 
 	# ld/ld.texinfo
 	crossgcc::fixinfo ld/ ld/Makefile.in ld texinfo
-	
+
 	# gettext stuff.
 	crossgcc::fixgettext bfd
 	crossgcc::fixgettext binutils
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081102/d1f4ba1a/attachment.html>


More information about the macports-changes mailing list