From nobody Sun Apr 07 16:51:16 2024 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 4VCJC86m5fz5H7hR; Sun, 7 Apr 2024 16:51:16 +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 4VCJC83kncz4KvS; Sun, 7 Apr 2024 16:51:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712508676; 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=lz4OJEfXPDahxe/aLY8/cP94e2Y2bFKczAATMaUpK8M=; b=L0YdMJG8UEw2F19NPMVl4448CYhmZGoTi9Dx3SDMO4e2/UpJc9j8hbyszcNo+5Y/lwD12H VAxo/sYM9zZFaBEuPhPLF+6fkvP9nP4jUkpLxXITKmBfIHpbzQZNHkHd+Ez/4LTJlDE4nM n+owH0TL0uWIOiDxcqVHV2HiSI1iEs97kYdKNSWJEc/z6tJF78gjYOypfaP0FDeLzp2TY/ JBHuyD8/46TYcYKgUta2FY6vPpO2DD0QLtW1+dO/2hAHFX9DK/NH9G1dgy7lYSyefOEvYZ LYd9HxLRXtaWwWWSQgrONaVJeyHvgRIWTZMyEmlQB7dsKzHzbWyVuiceJiLlHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712508676; a=rsa-sha256; cv=none; b=Zka3Y7X2WtZkooSTKoHnDA2ouR58vQoefehs1WtCvDgk41VuhAoEirPQkPf/+2j43xVnfN vVoqtw0J1UDqEEuKfY3j5pkTqZoAwxp0pOokYZOqDzo7SYLNWm+dZQnah97PaA9sp9/0Om 2WMR+O9dZE4vubBE1BQ1IAnb56eAS33PHc0bqkGGPPeMXB4fbbO2it7BjhZVTVXW5CMUOc FXcY6zk1L0b72H2zUsVAR7ypfVih9d1cHWlhLlMl0nWW9Ks/fqGKi4bzlX4/CD9Ue4cbdk /2hD88lZsbXoshp85jZS3gkcqHQob/ne/yykpgK/yOGRnMQJbMVw334Z60nNtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712508676; 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=lz4OJEfXPDahxe/aLY8/cP94e2Y2bFKczAATMaUpK8M=; b=Hv34LX6mxzeLeRLFAIaXhoGvH0sWhu11RKcFJeC9L39kT/p5Jvl7QWSmb9JUreIiH+thnR wSfAH68ojAzfxmvGvdXFUICdv/RpIECobq66Cd5Yku6d0ja53GkhLJoLGhy5mNMS7Xnh+1 zK/xIaGMxekI+AQFLFrk0REMOVcDsoR5V9BmrR42C2dzsgsc0HeLFy5BGBE9zLFO2I96ww ujCOmMNZbv4A9zw7qqcCyg2W5dXscUkkfO4bRY8MPT0PN1QJkmZcWc0NdLi5bAEDUuX7/6 flYXwgD4D6AC/xnG85jPi/UoSBiZwTQz0y+ceHfRZquY6Saz271EbEP7LbVgmQ== 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 4VCJC82dt5zbyc; Sun, 7 Apr 2024 16:51:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 437GpGFe020126; Sun, 7 Apr 2024 16:51:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 437GpGhg020123; Sun, 7 Apr 2024 16:51:16 GMT (envelope-from git) Date: Sun, 7 Apr 2024 16:51:16 GMT Message-Id: <202404071651.437GpGhg020123@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: e8ca022877b4 - main - math/yacas: Improve port 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: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e8ca022877b422e4c3fc91bb0f0f25db345c0bab Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e8ca022877b422e4c3fc91bb0f0f25db345c0bab commit e8ca022877b422e4c3fc91bb0f0f25db345c0bab Author: Daniel Engberg AuthorDate: 2024-04-07 16:13:01 +0000 Commit: Daniel Engberg CommitDate: 2024-04-07 16:50:08 +0000 math/yacas: Improve port * Switch PORTVERSION to DISTVERSION * Convert to USES= cmake:testing * Convert to use CMAKE framework helpers * Fix typo in comment --- math/yacas/Makefile | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/math/yacas/Makefile b/math/yacas/Makefile index 76f14a6afe61..04ba5d9eac12 100644 --- a/math/yacas/Makefile +++ b/math/yacas/Makefile @@ -1,6 +1,6 @@ PORTNAME= yacas -PORTVERSION= 1.9.1 DISTVERSIONPREFIX= v +DISTVERSION= 1.9.1 PORTREVISION= 1 CATEGORIES= math @@ -12,28 +12,27 @@ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING TEST_DEPENDS= bash:shells/bash \ + googletest>0:devel/googletest -BUILD_DEPENDS= googletest>0:devel/googletest - -USES= cmake compiler:c++17-lang - -CMAKE_ARGS= -DENABLE_DOCS:BOOL=OFF \ - -DENABLE_CYACAS_CONSOLE:BOOL=ON \ - -DENABLE_CYACAS_KERNEL:BOOL=OFF \ - -DENABLE_CYACAS_GUI:BOOL=OFF \ - -DENABLE_JYACAS:BOOL=OFF \ - -DENABLE_CYACAS_UNIT_TESTS:BOOL=ON \ - -DENABLE_CYACAS_BENCHMARKS:BOOL=OFF - -TEST_TARGET= test +USES= cmake:testing compiler:c++17-lang USE_GITHUB= yes GH_ACCOUNT= grzegorzmazur PLIST_SUB= SHLIB_VERSION=${PORTVERSION:S/.//}.0 +CMAKE_TESTING_ON= ENABLE_CYACAS_UNIT_TESTS + +CMAKE_OFF= ENABLE_DOCS \ + ENABLE_CYACAS_BENCHMARKS \ + ENABLE_CYACAS_KERNEL \ + ENABLE_CYACAS_GUI \ + ENABLE_JYACAS \ + +CMAKE_ON= ENABLE_CYACAS_CONSOLE + post-patch: -# Can't use USES=shebangfix here, cause the path appears several +# Can't use USES=shebangfix here, because the path appears several # times in the file. @${REINPLACE_CMD} -e 's| /bin/bash| ${LOCALBASE}/bin/bash|g' \ ${WRKSRC}/tests/test-yacas