# New ports collection makefile for:	most
# Date created:				31 May 1997
# Whom:					rhwang@bigpanda.com
#
# $FreeBSD: ports/sysutils/most/Makefile,v 1.23 2007/12/11 19:21:29 ehaupt Exp $
#

PORTNAME=	most
PORTVERSION=	5.0.0
CATEGORIES=	sysutils
MASTER_SITES=	ftp://space.mit.edu/pub/davis/most/ \
		ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/most/ \
		http://gd.tuwien.ac.at/editors/davis/most/ \
		http://critical.ch/distfiles/ \
		http://energy.critical.ch/distfiles/

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	A pager (like less) which has support for windows and binary files

LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/libslang2

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--enable-mmap

PLIST_FILES=	bin/most
PORTDOCS=	README changes.txt lesskeys.rc most-fun.txt most.doc most.rc
MAN1=		most.1

post-patch:
	@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|' \
		${WRKSRC}/src/jdmacros.h

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1