3624e2cf23
It's no longer required to remove -ltermcap references; the new configure script will search for curses, ncurses, etc, but now one of these libraries is mandatory. Approved by: infrastructure blanket (ncurses)
29 lines
637 B
Makefile
29 lines
637 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= editline
|
|
PORTVERSION= 1.15.2
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= Minix editline: A free readline() for UNIX
|
|
|
|
LICENSE= BSD4CLAUSE
|
|
|
|
USES= autoreconf libtool ncurses
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= troglobit
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
PORTDOCS= *
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} '/^pkgconfigdir/s|=.*|= ${PREFIX}/libdata/pkgconfig|' \
|
|
${WRKSRC}/Makefile.am
|
|
# rename to libeditline.3 to avoid conflict with libedit
|
|
${REINPLACE_CMD} 's|editline.3|lib&|' ${WRKSRC}/man/Makefile.am
|
|
cd ${WRKSRC}/man; ${MV} editline.3 libeditline.3
|
|
|
|
.include <bsd.port.mk>
|