From owner-svn-ports-head@freebsd.org Tue Sep 22 20:43:21 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 01A203F6513; Tue, 22 Sep 2020 20:43:21 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BwtYh6JMfz4bnT; Tue, 22 Sep 2020 20:43:20 +0000 (UTC) (envelope-from 0mp@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 B98A22533B; Tue, 22 Sep 2020 20:43:20 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08MKhKx7090561; Tue, 22 Sep 2020 20:43:20 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08MKhKva090558; Tue, 22 Sep 2020 20:43:20 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202009222043.08MKhKva090558@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Tue, 22 Sep 2020 20:43:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549633 - in head/science/crf++: . files X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/science/crf++: . files X-SVN-Commit-Revision: 549633 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.33 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: Tue, 22 Sep 2020 20:43:21 -0000 Author: 0mp Date: Tue Sep 22 20:43:19 2020 New Revision: 549633 URL: https://svnweb.freebsd.org/changeset/ports/549633 Log: Update to 0.59 (latest commit) - Change MASTER_SITES to GitHub, where upstream moved - Apply some patches from the GitHub Pull Requests to make the port build (upstream seems to lost some files while migrating to GitHub) and patch some bugs - Set licenses - Upstream does not tag releases on GitHub, so it's all guessing what the real version is. 0.59 is what I found in the source code. - Install examples; they are useful to test if the port is working - Remove old patches, they are no longer needed - Update WWW Deleted: head/science/crf++/files/ Modified: head/science/crf++/Makefile head/science/crf++/distinfo head/science/crf++/pkg-descr Modified: head/science/crf++/Makefile ============================================================================== --- head/science/crf++/Makefile Tue Sep 22 20:36:45 2020 (r549632) +++ head/science/crf++/Makefile Tue Sep 22 20:43:19 2020 (r549633) @@ -2,18 +2,37 @@ # $FreeBSD$ PORTNAME= crf++ -PORTVERSION= 0.54 -PORTREVISION= 1 +# 0.59 as defined in +# https://github.com/taku910/crfpp/commit/d78526835e4cfcc4822156724edda8a3839327c2 +DISTVERSION= 0.59 CATEGORIES= science math -MASTER_SITES= SF/crfpp/crfpp/${PORTVERSION} -DISTNAME= CRF++-${PORTVERSION} +PATCH_SITES= https://patch-diff.githubusercontent.com/raw/taku910/crfpp/pull/:pr +PATCHFILES= 15.patch:-p1:pr \ + 16.patch:-p1:pr MAINTAINER= ports@FreeBSD.org COMMENT= Yet Another CRF toolkit -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip +LICENSE= BSD3CLAUSE LGPL21+ +LICENSE_COMB= dual +LICENS_BSD3CLAUSE= ${WRKSRC}/BSD +LICENS_LGPLv21+ = ${WRKSRC}/LGPL + USES= libtool +USE_GITHUB= yes +GH_ACCOUNT= taku910 +GH_PROJECT= crfpp +GH_TAGNAME= 1dc92a606f874a4fe52603803364cc1d90f952fb USE_LDCONFIG= yes +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip + +PORTEXAMPLES= JapaneseNE basenp chunking seg + +OPTIONS_DEFINE= EXAMPLES + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAPLESDIR} + (cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Modified: head/science/crf++/distinfo ============================================================================== --- head/science/crf++/distinfo Tue Sep 22 20:36:45 2020 (r549632) +++ head/science/crf++/distinfo Tue Sep 22 20:43:19 2020 (r549633) @@ -1,2 +1,7 @@ -SHA256 (CRF++-0.54.tar.gz) = 8dab6e9ab71212b3d223588f6855384f2b29dada0a30d450266f8990ced63354 -SIZE (CRF++-0.54.tar.gz) = 809008 +TIMESTAMP = 1600806136 +SHA256 (taku910-crfpp-0.59-1dc92a606f874a4fe52603803364cc1d90f952fb_GH0.tar.gz) = 7f70e4113dd93caa34091e7f2df03ff75370934e3450c3a3b0d0a4afb11c8bd4 +SIZE (taku910-crfpp-0.59-1dc92a606f874a4fe52603803364cc1d90f952fb_GH0.tar.gz) = 864713 +SHA256 (15.patch) = eaf3408fcadf281eba05735af830acf82950a8da82e7cc565750a8e4d31d5480 +SIZE (15.patch) = 2376 +SHA256 (16.patch) = 5f27e76c8efac6c1fd4ac41c5925bda5b5c0063801a6a65fe311ff676e53cd1b +SIZE (16.patch) = 98664 Modified: head/science/crf++/pkg-descr ============================================================================== --- head/science/crf++/pkg-descr Tue Sep 22 20:36:45 2020 (r549632) +++ head/science/crf++/pkg-descr Tue Sep 22 20:43:19 2020 (r549633) @@ -5,4 +5,4 @@ designed for generic purpose and will be applied to a variety of NLP tasks, such as Named Entity Recognition, Information Extraction and Text Chunking. -WWW: http://chasen.org/~taku/software/CRF++/ +WWW: https://taku910.github.io/crfpp/