summaryrefslogtreecommitdiffstats
path: root/less/Pkgfile
blob: 76c03263ec73a6f97aa13a385df076d021b8bc6f (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 \
		${CBUILD:+--build=${CBUILD}} \
		${CHOST:+--host=${CHOST}} \
		--prefix=$prefix \
		--mandir=$mandir;
	make;
	make DESTDIR=$PKG install;
	install -m 755 -D $SRC/filter $PKG$prefix/lib/less/filter
}