[22947] trunk/dports/devel/readline/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 19 21:37:19 PDT 2007
Revision: 22947
http://trac.macosforge.org/projects/macports/changeset/22947
Author: pipping at macports.org
Date: 2007-03-19 21:37:19 -0700 (Mon, 19 Mar 2007)
Log Message:
-----------
* bump version to 5.2
* add links for 5.[01]'s libs (should fix #9897, #9335, please confirm)
Modified Paths:
--------------
trunk/dports/devel/readline/Portfile
Modified: trunk/dports/devel/readline/Portfile
===================================================================
--- trunk/dports/devel/readline/Portfile 2007-03-20 04:28:14 UTC (rev 22946)
+++ trunk/dports/devel/readline/Portfile 2007-03-20 04:37:19 UTC (rev 22947)
@@ -2,8 +2,10 @@
PortSystem 1.0
name readline
-version 5.1.004
-distname ${name}-5.1
+set milestone 5.2
+set patchlevel 001
+version ${milestone}.${patchlevel}
+distname ${name}-${milestone}
categories devel
maintainers nomaintainer at macports.org
description Library that provides command line editing
@@ -19,20 +21,14 @@
master_sites gnu ftp://ftp.cwru.edu/pub/bash/
-patch_sites http://ftp.gnu.org/gnu/readline/readline-5.1-patches/ \
- ftp://ftp.cwru.edu/pub/bash/readline-5.1-patches/
-patchfiles readline51-001 \
- readline51-002 \
- readline51-003 \
- readline51-004
+patch_sites gnu:${name}/${distname}-patches/ \
+ ftp://ftp.cwru.edu/pub/bash/${distname}-patches/
+patchfiles ${name}52-001
-checksums ${distname}${extract.suffix} md5 7ee5a692db88b30ca48927a13fd60e46 \
- ${distname}${extract.suffix} sha1 4b2ee2bc9c6dd1d238c84a58f7e6db173600b850 \
- ${distname}${extract.suffix} rmd160 e7e755bcde7a38740dd0ef6fc10d66614b74ea21 \
- readline51-001 md5 63faf622820ca0828131c8b5aeac1e6a \
- readline51-002 md5 e60f96f9277f42aa2e66020b2f30e55f \
- readline51-003 md5 c9c488f203dbfa1a7da843a07c6c2a25 \
- readline51-004 md5 1b5e14a35a781dfce8ae23389cff30c0
+checksums ${distfiles} md5 e39331f32ad14009b9ff49cc10c5e751 \
+ ${distfiles} sha1 18f3412c73068509d5f491b7b4535aeaf9522834 \
+ ${distfiles} rmd160 983cbb25192e0a376b80cb2428fe8ee254a041c7 \
+ ${name}52-001 sha1 8de77c2de3926893cbf2688912768bed48a2456b
configure.args --mandir=${prefix}/share/man \
--infodir=${prefix}/share/info \
@@ -44,4 +40,12 @@
post-destroot {
delete ${destroot}${prefix}/share/info/dir
+ cd ${destroot}${prefix}/lib
+ # keep ports from breaking that were linked against an old version
+ foreach f {history readline} {
+ foreach v {0 1} {
+ file link -hard lib${f}.5.${v}.dylib \
+ lib${f}.${milestone}.dylib
+ }
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070319/3fc1a7ab/attachment.html
More information about the macports-changes
mailing list