aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libedit/Makefile
blob: 6dc78065c0250c89e7369901edb158090755bb0c (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
# Created by: jasone
# $FreeBSD$

PORTNAME=   libedit
PORTVERSION=    ${EDITVERSION}.${EDITDATE}
PORTREVISION=   2
PORTEPOCH=  1
CATEGORIES= devel
MASTER_SITES=   https://thrysoee.dk/editline/
DISTNAME=   ${PORTNAME}-${EDITDATE}-${EDITVERSION}

MAINTAINER= bapt@FreeBSD.org
COMMENT=    Command line editor library

LICENSE=    BSD2CLAUSE

USES=       libtool ncurses pathfix
EDITVERSION=    3.1
EDITDATE=   20170329
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-widec
LDFLAGS+=   -L${LOCALBASE}/lib

CONFLICTS_INSTALL=  editline-*

post-install:
    ${MV} ${STAGEDIR}${PREFIX}/man/man3/history.3 ${STAGEDIR}${PREFIX}/man/man3/el_history.3

.include <bsd.port.mk>