From nobody Thu Jul 20 17:43:15 2023 X-Original-To: dev-commits-ports-all@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 4R6Km525KMz4nSZl; Thu, 20 Jul 2023 17:43:17 +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 4R6Km41Nj8z3MpS; Thu, 20 Jul 2023 17:43:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689874996; 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=DYdPrI32ieJpsHxSXavd7hdh6Sn1ZQPhKhCaJHf5pvk=; b=YzI03emhCesWsZ008dW2fVwzRP9pJACoue5jiFQT+0P/ekEY62hA2+v9Uds6g2659neEFl BS+vbnyGRcELjdG7hyfyFMK6UTi+q+8GFoPgswZkVXUjVqtYdYwknbReEsEkhOVezAT+98 DviMHbg01UZCovP/KQT+eB6+xUUyiszThu8RQp6pvnJR9n6w+gypBo96MZleHy0ZHJW3Bn nbkgBYAwXMnBr/HKSWsgefN9ThGemqKep1+fHj3HkRepeY2cUrey/VzhrP91GXG8he4kyI EN/htIU2wOv+UVV1HbxzWJNkUxfWiGa5wQ9YRC5s4DnOx2RZfKAzzWzoZZ56ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689874996; 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=DYdPrI32ieJpsHxSXavd7hdh6Sn1ZQPhKhCaJHf5pvk=; b=LpW5YTRPaNRV1BTqVbcInERihV6XP4v8it70PFylb7J5aMYn0u8KojIXhJ2Z/8cp7oAOu8 CJpvibTIHoNCslVA6TW0mWEd6ZXPqaZCsFPZ9v0BALOEKsqgsEVVOSFXov0XiQt799DbRl FxZu102hR49igPKB9cxCyM50gwoHtw7lpaXHrB7jMky6J3sPoUQD9EG8GbUGHHpd9dwZKB PloatGuAgfSIRbGm1vLcQFrrNxaZEMiQQy8+NNGiBQ+z3GNiISah8kFcTalL6nMQBU8bL+ i6I1IUASQVGpnD+nxnJv0IRE/yvqk0b/u65UaDA94yf1FwPnbWV7IKkIoqiLiA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689874996; a=rsa-sha256; cv=none; b=gqj3r+pV6x0ZoQE1BnVnUSGwhUiWrjDnpvWYQ8vcBZzFrsmEAgd0T9nqE6SF+lBvoN9z91 PDKUHHwgFINLGIWLM/ow7GsLeEdO6TUVWmGf/x0QTeu2ljupRSm6JBikQBBz4BgaIbhori N7p4rcZa3hpzz2n4ICIfbg8c5S0MqAbgR4yXQK00xAJL9MkSLLcYf04Fu0S1tD/N3bjpx9 8Cp1vdZ3e1tDJL2Qt+BDWTmFEBLD+oDJsOCi6UtArfoVXJNkAr4+Vqb8DSSsw46BzWvIJW pmYSwtgelHsFUnWkqOBRACJRuyuCgfK6BkjM5EI7BrTcw9Gem/06rObHMbLyPA== 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 4R6Km36tPszgDg; Thu, 20 Jul 2023 17:43:15 +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 36KHhFXs036539; Thu, 20 Jul 2023 17:43:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36KHhFXo036538; Thu, 20 Jul 2023 17:43:15 GMT (envelope-from git) Date: Thu, 20 Jul 2023 17:43:15 GMT Message-Id: <202307201743.36KHhFXo036538@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: 0f960bc918b4 - main - math/gri: Fix build with llvm16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 0f960bc918b489abb26ec39db1552d270ffbc1f3 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f960bc918b489abb26ec39db1552d270ffbc1f3 commit 0f960bc918b489abb26ec39db1552d270ffbc1f3 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-20 13:55:34 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-20 17:42:34 +0000 math/gri: Fix build with llvm16 - Pet portclippy - Utilize USES=localbase - Utilize OPTIONSNG whiere possible Sponsored by: The FreeBSD Foundation --- math/gri/Makefile | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/math/gri/Makefile b/math/gri/Makefile index 38147dd9d81d..d4219c2da87a 100644 --- a/math/gri/Makefile +++ b/math/gri/Makefile @@ -4,25 +4,25 @@ PORTREVISION= 13 CATEGORIES= math MASTER_SITES= SF -LICENSE= GPLv2 - MAINTAINER= ports@FreeBSD.org COMMENT= Extensible plotting language for producing scientific graphs WWW= http://gri.sourceforge.net/ +LICENSE= GPLv2 + LIB_DEPENDS= libnetcdf.so:science/netcdf -USES= cpe gmake readline shebangfix makeinfo tex +USES= cpe gmake localbase:ldflags readline shebangfix makeinfo tex +CPE_VENDOR= gri_project +USE_CXXSTD= c++14 +USE_TEX= formats:build dvipsk:build + SHEBANG_FILES= doc/examples/FEM.pl src/gri_merge src/gri_unpage + GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-FreeBSD -CPE_VENDOR= gri_project - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib INFO= gri -USE_TEX= formats:build dvipsk:build PORTDOCS= * PORTEXAMPLES= * @@ -49,11 +49,11 @@ post-build: (cd ${WRKSRC}/doc && makeinfo gri.texi) .endif -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: (cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) -.else + +post-install-DOCS-off: ${INSTALL_MAN} ${WRKSRC}/doc/gri-manpage.1 \ ${STAGEDIR}${MANPREFIX}/man/man1/gri.1 ${INSTALL_MAN} ${WRKSRC}/doc/gri_merge.1-skel \ @@ -61,13 +61,12 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/doc/gri_unpage.1-skel \ ${STAGEDIR}${MANPREFIX}/man/man1/gri_unpage.1 ${INSTALL_DATA} ${WRKSRC}/doc/gri.info* ${STAGEDIR}${PREFIX}/${INFO_PATH} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} model* *.dat *.gri e*.ps \ ${STAGEDIR}${EXAMPLESDIR}) (cd ${WRKSRC}/doc/examples \ && ${INSTALL_SCRIPT} FEM.pl ${STAGEDIR}${EXAMPLESDIR}) -.endif .include