a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name nano
version 2.0.3
categories editors
maintainers nomaintainer@macports.org
description Nano's ANOther editor - enhanced free Pico Clone
long_description \
GNU nano is a small and friendly text editor. Besides basic text \
editing, nano offers many extra features like an interactive search \
and replace, goto line number, auto-indentation, feature toggles, \
internationalization support, and filename tab completion.
homepage http://www.nano-editor.org/
platforms darwin freebsd
master_sites http://www.nano-editor.org/dist/v2.0/
checksums md5 b8e2c1450b36d21f9a82509da3e4d9b1 \
sha1 5012a57c3aeabd6f798f5c767970ba1d260854c4 \
rmd160 8325e70c957ef84cae7a47ac78d893095e5128d2
depends_lib port:ncurses
configure.args --infodir=\\\${prefix}/share/info \
--mandir=\\\${prefix}/share/man \
--enable-all \
--disable-nls
configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
destroot.target install-strip
post-destroot {
file delete -force ${destroot}${prefix}/share/info/dir
}