From nobody Mon Apr 04 18:08:50 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 02FFB1A936D0; Mon, 4 Apr 2022 18:08:51 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KXJgQ6d1pz3jJH; Mon, 4 Apr 2022 18:08:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649095730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qkTb93V0UvOUkGvzrVFfMOob4p+usNkwYEuHPffNKkY=; b=ASX1eiJ6orgl0RihU2049ZqGiAlBP39nE3t2tWBqAFXsLLx6n7ammn/PtEJzfYZGqAZZ7P nTxthSD8nNcPPxAgSeIidHlurX69odSNRUlPGEtBJtPNrVVFoCwgH98+5MhcFSyxpMoX+M z1FT3reeUipxJz24O+CShhSk1plJ0lLtC4CbTyUbvVXgCxTfqX8SGKA2/Xph0DTP7XI/7l 1M0oRig6HAO8ccnNsQ9tLzbtUsde6wXBqOXScy0CEiRzaXPYGklwzvlNfH36O0StRWZCd7 /v8Sy/aRn6uMhr5f575X5d/y+VW7+iBfCMgMHvOl1x9/sNlWLDUGAgvmh/fP7g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C317616E20; Mon, 4 Apr 2022 18:08:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 234I8olL057875; Mon, 4 Apr 2022 18:08:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 234I8oWo057874; Mon, 4 Apr 2022 18:08:50 GMT (envelope-from git) Date: Mon, 4 Apr 2022 18:08:50 GMT Message-Id: <202204041808.234I8oWo057874@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 6807da9775b6 - main - textproc/cg3: Housekeeping List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6807da9775b6ee4e91aac93e927997dd5afa7f24 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649095730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qkTb93V0UvOUkGvzrVFfMOob4p+usNkwYEuHPffNKkY=; b=ko3VQXcSVsH+aWG/3jKUogd/l+xyMyJMNtNDXl8l5UoEK5n2jYlFUfpuD8XKTDP1OZEc7m fBFEcD3kPdfkCU3kni3OtCqSiq4CVfkQLKs7P3+9lXpQwV3RkyfrGswEGU9aA2zHi0jBwR 6OhTtmo66ULqpnfcS39YOzdZnq0yRQMBfrtnmksn51rsH0AKWHD/UdlsLqmoP17seFMooU bIc5LgDohFQ6VhQa4jHAV7pBIfesbhQ2xVpUVdR4AiV4hyz/LuEWjOI1DPVe9XZKiuZ3Oe i7crWtEfqWARxt6TuznRCSprHojjTfXF5s2kDbdNTlOVtBy6i9YlshJGujVaEQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649095730; a=rsa-sha256; cv=none; b=DYc1WuiNNtAhGfhaZH+2MFCuWUXmDllv+9/bkkdnXXFktHdl9wYa+p0mKSLpDFeTgT+qJm DpVbTOHYqt+g177yO0nZZs+KBRlPsN3IO5YqScGrqCWF6Tqp7l8Ph9nXs8fCy1A5KETg1m L0mSXXUs3rjnqJRDcjAvQnBE4HRlws836C83UrvoJ70rc8S5E2fKng34VF9K8dQ2Y/GDFC 791sBRT/+TTm+t/UnS9m1xKFOXMB/Q8R5nzjnvMfSfQEKm+IGEcPwiyj5ehIC6ibZ6fc3z LlSwCt8PltCOoyylaJjUdT6XV5kDCsWNQADmpANBANSqtm7wO3pDbEK1vm3TXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6807da9775b6ee4e91aac93e927997dd5afa7f24 commit 6807da9775b6ee4e91aac93e927997dd5afa7f24 Author: Muhammad Moinur Rahman AuthorDate: 2022-04-04 18:06:08 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-04-04 18:08:41 +0000 textproc/cg3: Housekeeping - Use GitHub distribution [1] - Add pathfix [1] - Add perl5 - Add some shebangfiles - Optionize OPTIMIZED_CFLAGS [1] Reported by: diizzy --- textproc/cg3/Makefile | 18 +++++++++++++----- textproc/cg3/distinfo | 6 +++--- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/textproc/cg3/Makefile b/textproc/cg3/Makefile index a01741a5cf9d..161740d23c63 100644 --- a/textproc/cg3/Makefile +++ b/textproc/cg3/Makefile @@ -1,7 +1,8 @@ PORTNAME= cg3 -PORTVERSION= 1.3.6 -DISTVERSIONPREFIX= v +DISTVERSION= 1.3.6 +PORTREVISION= 1 CATEGORIES= textproc +MASTER_SITES= https://github.com/GrammarSoft/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Tools for the Constraint Grammar formalism @@ -12,13 +13,20 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ libicuuc.so:devel/icu -USES= cmake -USE_GITHUB= yes -GH_ACCOUNT= GrammarSoft +USES= cmake pathfix perl5 shebangfix tar:bz2 USE_LDCONFIG= yes +SHEBANG_FILES= scripts/cg-sort scripts/cg-strictify scripts/cg-untrace \ + scripts/cg3-autobin.pl.in + +OPTIONS_DEFINE= OPTIMIZED_CFLAGS + post-patch: @${REINPLACE_CMD} -e '/D_POSIX_C_SOURCE/d' \ ${WRKSRC}/CMakeLists.txt +post-patch-OPTIMIZED_CFLAGS-off: + @${REINPLACE_CMD} -e 's| -O3||g' \ + ${WRKSRC}/CMakeLists.txt + .include diff --git a/textproc/cg3/distinfo b/textproc/cg3/distinfo index 5b68d4320693..907f9e4515d6 100644 --- a/textproc/cg3/distinfo +++ b/textproc/cg3/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1648840020 -SHA256 (GrammarSoft-cg3-v1.3.6_GH0.tar.gz) = 6ad782fea6204d5899186fc6ad41ef36de94304b4221c388d64abb927f48bc5b -SIZE (GrammarSoft-cg3-v1.3.6_GH0.tar.gz) = 365386 +TIMESTAMP = 1649020336 +SHA256 (cg3-1.3.6.tar.bz2) = ee43b20b251b100eca986655795e26b53636d889947654f4e4840b270cb9d6e9 +SIZE (cg3-1.3.6.tar.bz2) = 290961