summaryrefslogtreecommitdiff
path: root/sysutils/most/Makefile
blob: cbf14aa1e228e0a0233f50abba89bb9e16d02f21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	most
# Date created:				31 May 1997
# Whom:					rhwang@bigpanda.com
#
# $FreeBSD$
#

PORTNAME=	most
PORTVERSION=	4.10.2
PORTREVISION=	1
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/

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

LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang

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>