[77428] trunk/dports/devel/readline-4/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Mar 29 18:58:26 PDT 2011
Revision: 77428
http://trac.macports.org/changeset/77428
Author: ryandesign at macports.org
Date: 2011-03-29 18:58:25 -0700 (Tue, 29 Mar 2011)
Log Message:
-----------
readline-4: replaced_by readline (#27747)
Modified Paths:
--------------
trunk/dports/devel/readline-4/Portfile
Modified: trunk/dports/devel/readline-4/Portfile
===================================================================
--- trunk/dports/devel/readline-4/Portfile 2011-03-30 01:47:24 UTC (rev 77427)
+++ trunk/dports/devel/readline-4/Portfile 2011-03-30 01:58:25 UTC (rev 77428)
@@ -3,11 +3,12 @@
PortSystem 1.0
name readline-4
version 4.3
-revision 0
+revision 1
categories devel
maintainers nomaintainer
platforms darwin
license GPL-2+
+replaced_by readline
description Library that provides command line editing
long_description\
@@ -18,38 +19,15 @@
includes additional functions to maintain a list of \
previously-entered command lines, to recall and perhaps \
reedit those lines, and perform csh-like history \
- expansion on previous commands. \
- \
- This version provides limited functionality. It is \
- intended to be used by ports that require version \
- 4.3. Only the dynamic library is installed, and the \
- include files are kept in PREFIX/include/readline4.
+ expansion on previous commands.
homepage http://cnswww.cns.cwru.edu/~chet/readline/rltop.html
-master_sites ftp://ftp.cwru.edu/pub/bash/
-distfiles readline-${version}${extract.suffix}
+distfiles
-checksums md5 f86f7cb717ab321fe15f1bbcb058c11e
-
-platform darwin {
- patchfiles patch-shlib-Makefile.in
+pre-configure {
+ ui_error "${name} has been replaced by ${replaced_by}; please install that port instead"
+ return -code error "obsolete port"
}
-worksrcdir readline-4.3
-
-configure.args --mandir=\\\${prefix}/share/man \
- --infodir=\\\${prefix}/share/info
-
-post-destroot { file delete -force ${destroot}${prefix}/share
-
- file delete ${destroot}${prefix}/lib/libhistory.a
- file delete ${destroot}${prefix}/lib/libhistory.dylib
- file delete ${destroot}${prefix}/lib/libhistory.4.dylib
-
- file delete ${destroot}${prefix}/lib/libreadline.a
- file delete ${destroot}${prefix}/lib/libreadline.dylib
- file delete ${destroot}${prefix}/lib/libreadline.4.dylib
-
- file rename ${destroot}${prefix}/include/readline ${destroot}${prefix}/include/readline4
- }
+livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110329/022b08ad/attachment.html>
More information about the macports-changes
mailing list