Date: Tue, 22 Sep 2020 20:43:20 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549633 - in head/science/crf++: . files Message-ID: <202009222043.08MKhKva090558@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009222043.08MKhKva090558>