[24075] trunk/dports/cross/powerpc-rtems-binutils
source_changes at macosforge.org
source_changes at macosforge.org
Sun Apr 15 22:06:37 PDT 2007
Revision: 24075
http://trac.macosforge.org/projects/macports/changeset/24075
Author: pguyot at kallisys.net
Date: 2007-04-15 22:06:37 -0700 (Sun, 15 Apr 2007)
Log Message:
-----------
cross/powerpc-rtems-binutils: update to 2.17, add livecheck
Modified Paths:
--------------
trunk/dports/cross/powerpc-rtems-binutils/Portfile
Removed Paths:
-------------
trunk/dports/cross/powerpc-rtems-binutils/files/
Modified: trunk/dports/cross/powerpc-rtems-binutils/Portfile
===================================================================
--- trunk/dports/cross/powerpc-rtems-binutils/Portfile 2007-04-16 05:06:15 UTC (rev 24074)
+++ trunk/dports/cross/powerpc-rtems-binutils/Portfile 2007-04-16 05:06:37 UTC (rev 24075)
@@ -2,8 +2,7 @@
PortSystem 1.0
name powerpc-rtems-binutils
-version 2.14
-revision 1
+version 2.17
# Parameters for this port.
set crossgcc-target powerpc-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/bd98ad44/attachment.html
More information about the macports-changes
mailing list