# $Id: Portfile,v 1.20 2005/05/19 04:43:45 toby Exp $

PortSystem 1.0
name             nano
version          1.2.5
categories       editors
maintainers      toby@opendarwin.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/v1.2/ \
                 http://www.ewtoo.org/~astyanax/nano/dist/v1.2/ \
                 ftp://ftp.nano-editor.org/pub/nano/v1.2/ \
                 ftp://nano.sourceforge.net/pub/nano/v1.2/
checksums        md5 f2b3efbf1cf356d736740d531b6b22c4
configure.args   --infodir=\\\${prefix}/share/info \
                 --mandir=\\\${prefix}/share/man \
                 --enable-all
destroot.target  install-strip

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