summaryrefslogtreecommitdiff
path: root/devel/editline/Makefile
blob: f56d2c1b48fe8288aacd9e1f2d483a711e493d2a (plain)
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
# $FreeBSD$

PORTNAME=	editline
PORTVERSION=	1.15.3
CATEGORIES=	devel

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Minix editline: A free readline() for UNIX

LICENSE=	BSD4CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_LDCONFIG=	yes
USES=		autoreconf libtool ncurses pathfix

PORTDOCS=	*

GH_ACCOUNT=	troglobit
USE_GITHUB=	yes

OPTIONS_DEFINE=	DOCS

# Rename to libeditline.3 to avoid conflict with libedit
post-patch:
	@${REINPLACE_CMD} 's|editline.3|lib&|' ${WRKSRC}/man/Makefile.am
	@${MV} ${WRKSRC}/man/editline.3 ${WRKSRC}/man/libeditline.3

.include <bsd.port.mk>