aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libedit/Makefile
blob: af69072f6fdd2ca5258bf8dbda06caca9bf84004 (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.7
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

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

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="5"|g' ${WRKSRC}/configure

.include <bsd.port.mk>