# $Id: Portfile,v 1.18 2006/05/23 23:35:20 gwright Exp $

PortSystem 1.0
name		readline
version		5.1.004
distname	${name}-5.1
categories	devel
maintainers	eric@opendarwin.org
description	Library that provides command line editing
long_description	\
	 The GNU Readline library provides a set of functions for use by \
 	 applications that allow users to edit command lines as they are typed \
 	 in. Both Emacs and vi editing modes are available. The Readline \
 	 library 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.
homepage	http://cnswww.cns.cwru.edu/~chet/readline/rltop.html
platforms	darwin freebsd

master_sites	gnu ftp://ftp.cwru.edu/pub/bash/

patch_sites	ftp://ftp.cwru.edu/pub/bash/readline-5.1-patches/
patchfiles	readline51-001 \
		readline51-002 \
		readline51-003 \
		readline51-004
			
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

configure.args	--mandir=${prefix}/share/man \
		--infodir=${prefix}/share/info

post-destroot {
	file delete ${destroot}${prefix}/share/info/dir
}
