summaryrefslogtreecommitdiffstats
path: root/less/Pkgfile
blob: 6fbb364f4c474d7389a4aa3e04316a22ebe3b71a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
description="A terminal based program for viewing text files."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.greenwoodsoftware.com/less/"
depends=(ncurses)

name=less
version=429
release=1
source=(http://www.greenwoodsoftware.com/$name/$name-$version.tar.gz filter)
build () 
{ 
	cd $name-$version;
	./configure \
		${CHOST:+--build=${CHOST}} \
		${CTARGET:+--host=${CTARGET}} \
		--prefix=$prefix \
		--mandir=$mandir;
	make;
	make DESTDIR=$PKG install;
	install -m 755 -D $SRC/filter $PKG$prefix/lib/less/filter
}