Files
ports/devel/editline/Makefile
T
Sunpoet Po-Chuan Hsieh 1636580436 Use upstream release tarball
2020-08-30 07:13:08 +00:00

30 lines
757 B
Makefile

# $FreeBSD$
PORTNAME= editline
PORTVERSION= 1.17.1
CATEGORIES= devel
MASTER_SITES= https://github.com/troglobit/editline/releases/download/${PORTVERSION}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Minix editline: A free readline() for UNIX
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= libtool ncurses pathfix
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
post-patch:
# Do not install LICENSE to DOCSDIR
@${REINPLACE_CMD} -e '/doc_DATA/ s| LICENSE||' ${WRKSRC}/Makefile.in
# Rename editline.3 to libeditline.3 to avoid conflict with libedit
@${REINPLACE_CMD} -e 's|editline.3|lib&|' ${WRKSRC}/man/Makefile.in
@${MV} ${WRKSRC}/man/editline.3 ${WRKSRC}/man/libeditline.3
.include <bsd.port.mk>