- Add LICENSE_FILE

- Silence patch message
- Cosmetic change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-12-17 12:57:03 +00:00
parent aa53408156
commit eef08647b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428732

View file

@ -8,20 +8,21 @@ MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Minix editline: A free readline() for UNIX
LICENSE= BSD4CLAUSE
USES= autoreconf libtool ncurses pathfix
USE_GITHUB= yes
GH_ACCOUNT= troglobit
USE_LDCONFIG= yes
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
# Rename to libeditline.3 to avoid conflict with libedit
post-patch:
# 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
@${REINPLACE_CMD} 's|editline.3|lib&|' ${WRKSRC}/man/Makefile.am
@${MV} ${WRKSRC}/man/editline.3 ${WRKSRC}/man/libeditline.3
.include <bsd.port.mk>