Use upstream release tarball

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-08-30 07:13:08 +00:00
parent 13fca437f9
commit 1636580436
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546979
2 changed files with 7 additions and 9 deletions

View file

@ -3,6 +3,7 @@
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
@ -10,22 +11,19 @@ COMMENT= Minix editline: A free readline() for UNIX
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= autoreconf libtool ncurses pathfix
USES= libtool ncurses pathfix
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
GH_ACCOUNT= troglobit
USE_GITHUB= yes
OPTIONS_DEFINE= DOCS
post-patch:
# Do not install LICENSE to DOCSDIR
@${REINPLACE_CMD} -e '/doc_DATA/ s| LICENSE||' ${WRKSRC}/Makefile.am
@${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.am
@${REINPLACE_CMD} -e 's|editline.3|lib&|' ${WRKSRC}/man/Makefile.in
@${MV} ${WRKSRC}/man/editline.3 ${WRKSRC}/man/libeditline.3
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1582561396
SHA256 (troglobit-editline-1.17.1_GH0.tar.gz) = d65c5739c8ca388fa71feabc5aae506d052e1a6d288ee4e7fcab7efb07a3be74
SIZE (troglobit-editline-1.17.1_GH0.tar.gz) = 45115
TIMESTAMP = 1598622698
SHA256 (editline-1.17.1.tar.gz) = 781e03b6a935df75d99fb963551e2e9f09a714a8c49fc53280c716c90bf44d26
SIZE (editline-1.17.1.tar.gz) = 375752