[36042] trunk/dports/cross/arm-rtems-binutils/Portfile

pguyot at kallisys.net pguyot at kallisys.net
Tue Apr 15 10:05:57 PDT 2008


Revision: 36042
          http://trac.macosforge.org/projects/macports/changeset/36042
Author:   pguyot at kallisys.net
Date:     2008-04-15 10:05:54 -0700 (Tue, 15 Apr 2008)

Log Message:
-----------
cross/arm-rtems-binutils: update to 2.18

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

Modified: trunk/dports/cross/arm-rtems-binutils/Portfile
===================================================================
--- trunk/dports/cross/arm-rtems-binutils/Portfile	2008-04-15 11:53:03 UTC (rev 36041)
+++ trunk/dports/cross/arm-rtems-binutils/Portfile	2008-04-15 17:05:54 UTC (rev 36042)
@@ -1,11 +1,13 @@
 # $Id$
 
 PortSystem			1.0
+
 name				arm-rtems-binutils
-version				2.17
+version				2.18
 
 # Parameters for this port.
 set crossgcc-target arm-rtems
+set rtemsversion	4.9
 
 description			FSF Binutils for arm-rtems cross development
 long_description	Free Software Foundation development toolchain ("binutils") for \
@@ -14,12 +16,25 @@
 categories			cross devel
 maintainers			pguyot at kallisys.net
 homepage			http://www.gnu.org/software/binutils/binutils.html
-master_sites		gnu:binutils
+master_sites		gnu:binutils:binutils \
+					macports:pguyot:rtems \
+					ftp://ftp.rtems.com/pub/rtems/SOURCES/${rtemsversion}/: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
 
 # All cross ports violate the mtree layout.
 destroot.violate_mtree	yes
@@ -35,17 +50,17 @@
 configure.args  	--infodir='${prefix}/share/info' --target=${crossgcc-target} \
 					--program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man'
 build.dir       	${workpath}/build
-					
+
 # We don't want the etc module.
 post-extract {
 	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)
@@ -78,7 +93,7 @@
 	}
 
 	# Fix the gettext files and related stuff.
-	#	
+	#
 	# module: name of the module (e.g. gas)
 	proc crossgcc::fixgettext { module } {
 		global crossgcc-target worksrcpath

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


More information about the macports-changes mailing list