Ticket #11602: Portfile

File Portfile, 1.2 KB (added by pipping@…, 17 years ago)
Line 
1# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
2
3PortSystem 1.0
4name             nano
5version          2.0.3
6categories       editors
7maintainers      nomaintainer@macports.org
8description      Nano's ANOther editor - enhanced free Pico Clone
9long_description \
10    GNU nano is a small and friendly text editor. Besides basic text \
11    editing, nano offers many extra features like an interactive search \
12    and replace, goto line number, auto-indentation, feature toggles, \
13    internationalization support, and filename tab completion.
14homepage         http://www.nano-editor.org/
15platforms        darwin freebsd
16master_sites     http://www.nano-editor.org/dist/v2.0/
17checksums        md5 b8e2c1450b36d21f9a82509da3e4d9b1 \
18                 sha1 5012a57c3aeabd6f798f5c767970ba1d260854c4 \
19                 rmd160 8325e70c957ef84cae7a47ac78d893095e5128d2
20depends_lib      port:ncurses port:svk
21configure.args   --infodir=\\\${prefix}/share/info \
22                 --mandir=\\\${prefix}/share/man \
23                 --enable-all \
24                 --disable-nls
25configure.env    CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
26destroot.target  install-strip
27
28post-destroot {
29    file delete -force ${destroot}${prefix}/share/info/dir
30}