From owner-svn-ports-head@freebsd.org Sun Feb 25 03:55:25 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5664BF39BE6; Sun, 25 Feb 2018 03:55:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 04BD68799C; Sun, 25 Feb 2018 03:55:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F3D2E2F579; Sun, 25 Feb 2018 03:55:24 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1P3tOIm013083; Sun, 25 Feb 2018 03:55:24 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1P3tOJV013079; Sun, 25 Feb 2018 03:55:24 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201802250355.w1P3tOJV013079@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 25 Feb 2018 03:55:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462897 - head/textproc/link-grammar X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/textproc/link-grammar X-SVN-Commit-Revision: 462897 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 03:55:25 -0000 Author: yuri Date: Sun Feb 25 03:55:24 2018 New Revision: 462897 URL: https://svnweb.freebsd.org/changeset/ports/462897 Log: textproc/link-grammar: Update to 5.4.3 Changelog: https://github.com/opencog/link-grammar/blob/master/ChangeLog Additional port changes: * Changed to DISTVERSION * Added LICENSE/LICENSE_FILE * Added USES=ncurses * Added port options SAT_SOLVER,TOKENIZER * Updated WWW with https URL Approved by: tcberner (mentor, implicit) Modified: head/textproc/link-grammar/Makefile head/textproc/link-grammar/distinfo head/textproc/link-grammar/pkg-descr head/textproc/link-grammar/pkg-plist Modified: head/textproc/link-grammar/Makefile ============================================================================== --- head/textproc/link-grammar/Makefile Sun Feb 25 03:52:38 2018 (r462896) +++ head/textproc/link-grammar/Makefile Sun Feb 25 03:55:24 2018 (r462897) @@ -1,30 +1,31 @@ # $FreeBSD$ PORTNAME= link-grammar -PORTVERSION= 5.3.16 -PORTREVISION= 2 +DISTVERSION= 5.4.3 CATEGORIES= textproc MASTER_SITES= http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/ MAINTAINER= gnome@FreeBSD.org COMMENT= Grammar checking library +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive -USES= autoreconf compiler:c++11-lib dos2unix gmake libtool localbase \ - pathfix pkgconfig sqlite - +USES= autoreconf compiler:c++11-lib dos2unix gmake libtool localbase ncurses \ + pathfix pkgconfig sqlite # autoreconf is due to this bug: https://github.com/opencog/link-grammar/issues/649 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip PLIST_SUB= VERSION=${PORTVERSION} -DOCS= AUTHORS LICENSE MAINTAINERS README +DOCS= AUTHORS MAINTAINERS README OPTIONS_SUB= yes -OPTIONS_DEFAULT= HUNSPELL -OPTIONS_DEFINE= DOCS EDITLINE JAVA PERL PYTHON +OPTIONS_DEFINE= DOCS EDITLINE JAVA PERL PYTHON SAT_SOLVER TOKENIZER +OPTIONS_DEFAULT= EDITLINE HUNSPELL SAT_SOLVER OPTIONS_MULTI= SPELL OPTIONS_MULTI_SPELL= ASPELL HUNSPELL @@ -50,8 +51,23 @@ PERL_USES= perl5 PYTHON_CONFIGURE_ENABLE= python-bindings PYTHON_USES= python:2.7 +SAT_SOLVER_CONFIGURE_ENABLE= sat-solver +SAT_SOLVER_DESC= Use boolean SAT parser +SAT_SOLVER_CFLAGS= -I${LOCALBASE}/include/minisat # see https://github.com/opencog/link-grammar/issues/648 +SAT_SOLVER_LIB_DEPENDS= libminisat.so:math/minisat + +TOKENIZER_CONFIGURE_ENABLE= regex-tokenizer +TOKENIZER_DESC= Use the regex word splitter (a demo) +TOKENIZER_BROKEN= Missing headers, see https://github.com/opencog/link-grammar/issues/646 + +post-extract: + @${RM} -r ${STAGEDIR}${PREFIX}/link-grammar/minisat # remove the bundled code + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblink-grammar.so.${DISTVERSION} # see https://github.com/opencog/link-grammar/issues/645 + post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor Modified: head/textproc/link-grammar/distinfo ============================================================================== --- head/textproc/link-grammar/distinfo Sun Feb 25 03:52:38 2018 (r462896) +++ head/textproc/link-grammar/distinfo Sun Feb 25 03:55:24 2018 (r462897) @@ -1,3 +1,3 @@ -TIMESTAMP = 1499527355 -SHA256 (link-grammar-5.3.16.tar.gz) = 6fbfe6937f56e1df9d6b433b7060cae7111ee6e0806056339ddcaafe83d5a0dd -SIZE (link-grammar-5.3.16.tar.gz) = 3695797 +TIMESTAMP = 1519529888 +SHA256 (link-grammar-5.4.3.tar.gz) = 3b043693ba091647128aaa60b3ed9187dc8b80f5921d4d7a6550294ca5a8e137 +SIZE (link-grammar-5.4.3.tar.gz) = 3725145 Modified: head/textproc/link-grammar/pkg-descr ============================================================================== --- head/textproc/link-grammar/pkg-descr Sun Feb 25 03:52:38 2018 (r462896) +++ head/textproc/link-grammar/pkg-descr Sun Feb 25 03:55:24 2018 (r462897) @@ -4,4 +4,4 @@ assigns to it a syntactic structure, which consists of connecting pairs of words. The parser also produces a "constituent" representation of a sentence (showing noun phrases, verb phrases, etc.). -WWW: http://www.abisource.com/projects/link-grammar/ +WWW: https://www.abisource.com/projects/link-grammar/ Modified: head/textproc/link-grammar/pkg-plist ============================================================================== --- head/textproc/link-grammar/pkg-plist Sun Feb 25 03:52:38 2018 (r462896) +++ head/textproc/link-grammar/pkg-plist Sun Feb 25 03:55:24 2018 (r462897) @@ -31,7 +31,6 @@ lib/liblink-grammar.so.%%VERSION%% %%PYTHON%%%%PYTHON_SITELIBDIR%%/linkgrammar/linkgrammar.pyo libdata/pkgconfig/link-grammar.pc %%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/MAINTAINERS %%PORTDOCS%%%%DOCSDIR%%/README %%DATADIR%%/ady/4.0.affix @@ -49,6 +48,7 @@ libdata/pkgconfig/link-grammar.pc %%DATADIR%%/any/4.0.dict %%DATADIR%%/any/4.0.knowledge %%DATADIR%%/any/4.0.regex +%%DATADIR%%/any/affix-punc %%DATADIR%%/any/README.md %%DATADIR%%/ar/4.0.affix %%DATADIR%%/ar/4.0.constituent-knowledge @@ -115,6 +115,7 @@ libdata/pkgconfig/link-grammar.pc %%DATADIR%%/en/words/units.4.dot %%DATADIR%%/en/words/units.5 %%DATADIR%%/en/words/units.6 +%%DATADIR%%/en/words/units.a %%DATADIR%%/en/words/words-medical.adv.1 %%DATADIR%%/en/words/words-medical.prep.1 %%DATADIR%%/en/words/words-medical.v.4.1 @@ -480,3 +481,4 @@ libdata/pkgconfig/link-grammar.pc %%DATADIR%%/vn/4.0.dict %%DATADIR%%/vn/4.0.knowledge %%DATADIR%%/vn/4.0.regex +man/man1/link-parser.1.gz