aboutsummaryrefslogtreecommitdiff
path: root/devel/libedit/Makefile
blob: 33551d5c8cfe2208d7acdc62d81afc7479cc6c1c (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection Makefile for:	libedit
# Date created:		9 February 2002
# Whom:			jasone
#
# $FreeBSD$
#

PORTNAME=	libedit
PORTVERSION=	2.6.9
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.astron.com/pub/libedit/ \
		http://www.canonware.com/download/libedit/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Command line editing library

GNU_CONFIGURE=	yes
INSTALLS_SHLIB=	yes
CONFIGURE_ARGS=	--disable-readline

MAN3=		editline.3
MAN5=		editrc.5
MLINKS=		editline.3 el_init.3 \
		editline.3 el_end.3 \
		editline.3 el_reset.3 \
		editline.3 el_gets.3 \
		editline.3 el_getc.3 \
		editline.3 el_push.3 \
		editline.3 el_parse.3 \
		editline.3 el_set.3 \
		editline.3 el_get.3 \
		editline.3 el_source.3 \
		editline.3 el_resize.3 \
		editline.3 el_line.3 \
		editline.3 el_insertstr.3 \
		editline.3 el_deletestr.3 \
		editline.3 history_init.3 \
		editline.3 history_end.3 \
		editline.3 history.3
MANCOMPRESSED=	no

post-patch:
	@${REINPLACE_CMD} -e 's|CFLAGS -O|CFLAGS|g ; \
		 s|MAJOR="2"|MAJOR="6"|g' ${WRKSRC}/configure

.include <bsd.port.mk>