summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-09-04 12:29:11 +0200
committerLukc <lukc@upyum.com>2010-09-04 12:29:11 +0200
commit5f3db92496559d197e396e0bf1e487ff80e70f8d (patch)
tree72f1e6c7c168c705add46fb22110f5397bd139ab
downloadports-5f3db92496559d197e396e0bf1e487ff80e70f8d.tar.gz
ports-5f3db92496559d197e396e0bf1e487ff80e70f8d.tar.bz2
ports-5f3db92496559d197e396e0bf1e487ff80e70f8d.tar.xz
ports-5f3db92496559d197e396e0bf1e487ff80e70f8d.zip
GNU Nano port added.
-rw-r--r--nano/Pkgfile28
1 files changed, 28 insertions, 0 deletions
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
+}