From 5f3db92496559d197e396e0bf1e487ff80e70f8d Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 4 Sep 2010 12:29:11 +0200 Subject: GNU Nano port added. --- nano/Pkgfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 nano/Pkgfile (limited to 'nano/Pkgfile') diff --git a/nano/Pkgfile b/nano/Pkgfile new file mode 100644 index 0000000..57f45c4 --- /dev/null +++ b/nano/Pkgfile @@ -0,0 +1,28 @@ +description="A tiny text editor." +url=http://nano-editor.org +packager="Lukc (XMPP/STMP: lukc AT upyum DOT com)" +maintainer="Lukc (XMPP/STMP: lukc AT upyum DOT com)" +depends=(ncurses) + +name=nano +version=2.2.5 +release=1 +source=(http://www.nano-editor.org/dist/v${version%.*}/$name-$version.tar.gz) + +includes=(autotools) + +if ! use nls; then + configure_opts=( + --disable-nls + ) +fi + +post_build() { + if ! use terminfo; then + rm -r $PKG/$sharedir/info + fi + if ! use nano; then + rm -r $PKG/$sharedir/nano + fi + rm $PKG/$bindir/rnano $PKG/$mandir/man1/rnano.1 +} -- cgit v1.2.3-70-g09d2