[36752] trunk/dports/devel/readline/Portfile
nox at macports.org
nox at macports.org
Wed May 14 00:08:31 PDT 2008
Revision: 36752
http://trac.macosforge.org/projects/macports/changeset/36752
Author: nox at macports.org
Date: 2008-05-14 00:08:23 -0700 (Wed, 14 May 2008)
Log Message:
-----------
readline: Updated to 5.2.012.
Modified Paths:
--------------
trunk/dports/devel/readline/Portfile
Modified: trunk/dports/devel/readline/Portfile
===================================================================
--- trunk/dports/devel/readline/Portfile 2008-05-14 06:14:07 UTC (rev 36751)
+++ trunk/dports/devel/readline/Portfile 2008-05-14 07:08:23 UTC (rev 36752)
@@ -1,10 +1,10 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
name readline
- set milestone 5.2
- set patchlevel 007
+set milestone 5.2
+set patchlevel 012
version ${milestone}.${patchlevel}
distname ${name}-${milestone}
categories devel
@@ -23,49 +23,67 @@
homepage http://cnswww.cns.cwru.edu/~chet/readline/rltop.html
master_sites gnu ftp://ftp.cwru.edu/pub/bash/
-
patch_sites gnu:${name}/${distname}-patches/ \
ftp://ftp.cwru.edu/pub/bash/${distname}-patches/
-patchfiles ${name}52-001 ${name}52-002 ${name}52-003 ${name}52-004 \
- ${name}52-005 ${name}52-006 ${name}52-007
-checksums [suffix ${distname}] \
- md5 e39331f32ad14009b9ff49cc10c5e751 \
- sha1 18f3412c73068509d5f491b7b4535aeaf9522834 \
- rmd160 983cbb25192e0a376b80cb2428fe8ee254a041c7 \
- ${name}52-001 \
- md5 9d4d41622aa9b230c57f68548ce87d8f \
- sha1 8de77c2de3926893cbf2688912768bed48a2456b \
- rmd160 0cedb82ccc4709e6b39e6cb95143131259b0e7c5 \
- ${name}52-002 \
- md5 f03e512d14206e37f7d6a748b56b9476 \
- sha1 db5baf0129357ba9397dfcd24e9f6db0abdcbc7a \
- rmd160 c9bbff4b1ba2ff77e5a43ad98a94f4753e5f0aa3 \
- ${name}52-003 \
- md5 252b42d8750f1a94b6bdf086612dceb2 \
- sha1 7a879ce1ccb10ad65c34d3eeced9f4b79ac68434 \
- rmd160 4007b1dcd19d204f6ce75fe5a60a5c780f221a12 \
- ${name}52-004 \
- md5 a32333c2e603a3ed250514e91050e552 \
- sha1 00f91e9784e2c74415bccff8cad4604424c4d470 \
- rmd160 7c8ef28a2d4fb6054aa84e0abfbdff0d446c0c90 \
- ${name}52-005 \
- md5 8106796c09b789523a3a78ab69c04b6d \
- sha1 ba68f91097cbf8ccb162340c92131922458faefc \
- rmd160 9a588f4ad425cff31ba78cef7083c53e8b3b8693 \
- ${name}52-006 \
- md5 512188e2bf0837f7eca19dbf71f182ae \
- sha1 0c55402c4fbc8d932dd90cad42925182d02ecc26 \
- rmd160 56649a55aeac4141992143fe2d11363ef6f45ee2 \
- ${name}52-007 \
- md5 ac17aca62eb6fb398c9f2fe9de540aff \
- sha1 30dba802dc07e6f2e75cb300e920affa6863933d \
- rmd160 31eaeca99f33b04816eb103c66915518da4b240a
+set i 1
+set patchname ${name}[join [split $milestone .] ""]
+while {$i <= $patchlevel} {
+ patchfiles-append ${patchname}-[format "%03d" $i]
+ incr i
+}
+checksums readline52-001 \
+ md5 9d4d41622aa9b230c57f68548ce87d8f \
+ sha1 8de77c2de3926893cbf2688912768bed48a2456b \
+ rmd160 0cedb82ccc4709e6b39e6cb95143131259b0e7c5 \
+ readline52-002 \
+ md5 f03e512d14206e37f7d6a748b56b9476 \
+ sha1 db5baf0129357ba9397dfcd24e9f6db0abdcbc7a \
+ rmd160 c9bbff4b1ba2ff77e5a43ad98a94f4753e5f0aa3 \
+ readline52-003 \
+ md5 252b42d8750f1a94b6bdf086612dceb2 \
+ sha1 7a879ce1ccb10ad65c34d3eeced9f4b79ac68434 \
+ rmd160 4007b1dcd19d204f6ce75fe5a60a5c780f221a12 \
+ readline52-004 \
+ md5 a32333c2e603a3ed250514e91050e552 \
+ sha1 00f91e9784e2c74415bccff8cad4604424c4d470 \
+ rmd160 7c8ef28a2d4fb6054aa84e0abfbdff0d446c0c90 \
+ readline52-005 \
+ md5 8106796c09b789523a3a78ab69c04b6d \
+ sha1 ba68f91097cbf8ccb162340c92131922458faefc \
+ rmd160 9a588f4ad425cff31ba78cef7083c53e8b3b8693 \
+ readline52-006 \
+ md5 512188e2bf0837f7eca19dbf71f182ae \
+ sha1 0c55402c4fbc8d932dd90cad42925182d02ecc26 \
+ rmd160 56649a55aeac4141992143fe2d11363ef6f45ee2 \
+ readline52-007 \
+ md5 ac17aca62eb6fb398c9f2fe9de540aff \
+ sha1 30dba802dc07e6f2e75cb300e920affa6863933d \
+ rmd160 31eaeca99f33b04816eb103c66915518da4b240a \
+ readline52-008 \
+ md5 2484c392db021905f112cf97a94dfd4c \
+ sha1 977b232766bc061a58b058b2b9076146d583649a \
+ rmd160 f95d1b3707ed4698d75ae64e3e1952bc4e91b3aa \
+ readline52-009 \
+ md5 fc6eb35d07914fae5c57d49c12483ff7 \
+ sha1 91f6718be7488c7e0917fdb45c1bda170969fc8e \
+ rmd160 fa94d1a7f2143a3689362add4fecbb6a7acaa60d \
+ readline52-010 \
+ md5 7a2bf3dc7ac7680b1461a5701100e91b \
+ sha1 98e6455c36f43c67be9529612c8e4550a8273c8b \
+ rmd160 545ad0c5c5d87bfd5971a4d12b47bd75ad2f195f \
+ readline-5.2.tar.gz \
+ md5 e39331f32ad14009b9ff49cc10c5e751 \
+ sha1 18f3412c73068509d5f491b7b4535aeaf9522834 \
+ rmd160 983cbb25192e0a376b80cb2428fe8ee254a041c7
+
configure.args --mandir=${prefix}/share/man \
--infodir=${prefix}/share/info \
--with-curses
+use_parallel_build yes
+
depends_lib port:ncurses
post-destroot {
@@ -83,19 +101,14 @@
post-destroot {
foreach f {history readline} {
foreach v {0 1} {
- system "cd ${destroot}${prefix}/lib && \
- ln -s ${prefix}/lib/lib${f}.${milestone}.dylib lib${f}.5.${v}.dylib"
+ ln -sf lib${f}.${milestone}.dylib ${destroot}${prefix}/lib/lib${f}.5.${v}.dylib
}
}
}
}
platform darwin 9 {
- # establish the variant
-}
-
-pre-configure {
- if {[variant_isset darwin_9]} {
+ pre-configure {
reinplace s|darwin8|darwin9|g ${worksrcpath}/support/shobj-conf
}
}
@@ -104,4 +117,3 @@
livecheck.url http://ftp.gnu.org/pub/gnu/${name}/?C=M&O=D
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
livecheck.version ${milestone}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080514/46b7129a/attachment.html
More information about the macports-changes
mailing list