From nobody Sun Nov 05 18:32:55 2023 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 4SNjlW2zmVz4yv6h; Sun, 5 Nov 2023 18:32:55 +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 4SNjlW2XFLz3X3c; Sun, 5 Nov 2023 18:32:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699209175; 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=IZxvBPFynmfO72gKF29vfGNktGipvAgtWtnsTg78T74=; b=rxao85jdf9+BxcskKO/e+hKppDakwGYj12aTMjCw/CYpFI7XuR2YjiYofubbos5WwTEgXx GW3tbIswwYx//4HM0TK2+AbJh5EjEKlXMzrPzpzKW4D+zZEXU0LrLpLDC/AjAGDiV7UDZ/ 1/NdjPsuVmmDu62WHKJkrEoJD9/fWH1bvllccAaES8MCmK9HzmbWM3sKP+M9P6/sHkcchX 0nTuvBKjloJBVpgrJ85ubxty0BbndT/znloE0gJpW3zkbT97ylOxmJV2hP1Wo70sXR9zeN Gw51CgOTIVIZrZac/TJKjPwB9MsuGY/2+S6gX7mqnOc8u3fCneDowrwTvCo5dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699209175; 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=IZxvBPFynmfO72gKF29vfGNktGipvAgtWtnsTg78T74=; b=gDCdiCeS0JSwLxRQqMeE3Grv82LX0mXtjKLlrt6M4drkcirKpyYjDHFaFoto9tQAjmAEPc Z8RjonIKQKMe0P6dbbOIbkH0YY87mGWxpQIWezrB37CxrHNBEB/QlcJFHZ4RUTqtw9Tivp H+uls5vatHNDCUB5zA41jjW/B4jk6f/fEMXsSREitJot0zAiivtXt98FoY+x5qC6RAoGOW 3qOc8b2FgJM9vBcoSlw1EYU8yg1pq2fL9oUNZ5rCR9Fm5L/YY/mMiseyHcBl3LZdE5fEnR ZVGtrvqQqBvLfM4K61OyHhVltwdhj+Fh7VFsrg1QT5wzTO//ugKioC8F5DAIaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699209175; a=rsa-sha256; cv=none; b=PUo7nVEqzy3SHGUsckBm8z+2MYLPKT7SYlb9RvlII586IgmA7tZjVK+ALuwq//2ccgLCbr rHWKGczSwWVOB6DrVrg1nO/Qf/gw8lEISlnV+VxvJv9rs4BNUPUqMljdh7hh1Yzt9rPdAy TXWkoot8D+975SI4DAA/FQ+M14Lf2pAwJ5f37OlwkKjWBtbdg8U+azOQVT/CKU+wMJbTfh YkS5F5OnaFa/zxiP/fwyHlLgnglrVdj/fCGmxVtVx9Mev7ixaoKElsBqlKWPEi4bzKfp3g g8jYpXL1qDhe8mom0PYiGhnTomzeG88mSDPbjrWb1/VnXp02ppi9v6mrB89Rzg== 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 4SNjlW1KQvzbsb; Sun, 5 Nov 2023 18:32:55 +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 3A5IWtCJ037977; Sun, 5 Nov 2023 18:32:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A5IWtRs037974; Sun, 5 Nov 2023 18:32:55 GMT (envelope-from git) Date: Sun, 5 Nov 2023 18:32:55 GMT Message-Id: <202311051832.3A5IWtRs037974@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: a1ea3c4249cc - main - math/qxfun: new port, quad precision package with special functions 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: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a1ea3c4249cc2c6cb5ff5030e03e2c27bfc6b722 Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1ea3c4249cc2c6cb5ff5030e03e2c27bfc6b722 commit a1ea3c4249cc2c6cb5ff5030e03e2c27bfc6b722 Author: Thierry Thomas AuthorDate: 2023-11-05 18:29:43 +0000 Commit: Thierry Thomas CommitDate: 2023-11-05 18:32:49 +0000 math/qxfun: new port, quad precision package with special functions --- math/Makefile | 3 +++ math/qxfun/Makefile | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ math/qxfun/distinfo | 3 +++ math/qxfun/pkg-descr | 8 ++++++++ math/qxfun/pkg-plist | 9 +++++++++ 5 files changed, 77 insertions(+) diff --git a/math/Makefile b/math/Makefile index cd303f2e1b65..1d22dd2e5fbf 100644 --- a/math/Makefile +++ b/math/Makefile @@ -268,12 +268,14 @@ SUBDIR += curv SUBDIR += cvc5 SUBDIR += dbcsr + SUBDIR += ddfun SUBDIR += deal.ii SUBDIR += dgl SUBDIR += dieharder SUBDIR += dihydrogen SUBDIR += dionysus SUBDIR += disco + SUBDIR += dqfun SUBDIR += drgeo SUBDIR += dsdp SUBDIR += dune-alugrid @@ -1093,6 +1095,7 @@ SUBDIR += qrupdate SUBDIR += qtiplot-doc SUBDIR += qwtplot3d + SUBDIR += qxfun SUBDIR += randlib SUBDIR += rankwidth SUBDIR += rapid diff --git a/math/qxfun/Makefile b/math/qxfun/Makefile new file mode 100644 index 000000000000..77d57e6cd7d9 --- /dev/null +++ b/math/qxfun/Makefile @@ -0,0 +1,54 @@ +PORTNAME= qxfun +DISTVERSIONPREFIX=v +DISTVERSION= 01 +CATEGORIES= math +MASTER_SITES= https://www.davidhbailey.com/dhbsoftware/ + +MAINTAINER= fortran@FreeBSD.org +COMMENT= Quad precision package with special functions +WWW= https://crd-legacy.lbl.gov/~dhbailey/mpdist + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/DISCLAIMER.txt + +USES= fortran + +BINARY_ALIAS= gfortran=${FC} +FFLAGS+= -O3 +BUILD_WRKSRC= ${WRKSRC}/fortran + +OPTIONS_DEFINE= DOCS EXAMPLES + +pre-configure: +.for f in gnu-complib-qx.scr gnu-complink-qx.scr + ${REINPLACE_CMD} -e 's|-O3|${FFLAGS}|' ${BUILD_WRKSRC}/${f} +.endfor + +do-build: + cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ./gnu-complib-qx.scr + +do-build-EXAMPLES-on: + cd ${BUILD_WRKSRC} && \ + ${SETENV} ${MAKE_ENV} ./gnu-complink-qx.scr tpslqm1qx + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/include + cd ${BUILD_WRKSRC} && \ + ${INSTALL_DATA} *.mod ${STAGEDIR}${PREFIX}/include + +do-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${BUILD_WRKSRC} && \ + ${INSTALL_PROGRAM} tpslqm1qx ${STAGEDIR}${EXAMPLESDIR} && \ + ${INSTALL_DATA} tpslqm1qx.f90 ${STAGEDIR}${EXAMPLESDIR} + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README-qxfun.txt ${STAGEDIR}${DOCSDIR} + cd ${BUILD_WRKSRC} && \ + ${INSTALL_DATA} *.ref.txt ${STAGEDIR}${DOCSDIR} + +do-test: + cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ./gnu-qxfun-tests.scr + +.include diff --git a/math/qxfun/distinfo b/math/qxfun/distinfo new file mode 100644 index 000000000000..1e3adee92168 --- /dev/null +++ b/math/qxfun/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1699205427 +SHA256 (qxfun-v01.tar.gz) = 2c75c1386817d17e4b3f1486c24a8dc10c1c30f82679308653b70982ff7b7933 +SIZE (qxfun-v01.tar.gz) = 56855 diff --git a/math/qxfun/pkg-descr b/math/qxfun/pkg-descr new file mode 100644 index 000000000000..8b133067dcee --- /dev/null +++ b/math/qxfun/pkg-descr @@ -0,0 +1,8 @@ +QXFUN: A quad precision package with special functions (approximately 33 digit +precision). + +This package enhances an IEEE quad precision floating-point facility (approx. 33 +digit accuracy) to include a library of numerous special functions, all by +making only very minor changes to existing Fortran programs. The package should +run correctly on any Unix-based system supporting a Fortran-2008 compiler and +IEEE 128-bit floating-point arithmetic, in hardware or software. diff --git a/math/qxfun/pkg-plist b/math/qxfun/pkg-plist new file mode 100644 index 000000000000..0d25bb3cd3d6 --- /dev/null +++ b/math/qxfun/pkg-plist @@ -0,0 +1,9 @@ +include/qxfune.mod +include/qxmodule.mod +%%PORTDOCS%%%%DOCSDIR%%/README-qxfun.txt +%%PORTDOCS%%%%DOCSDIR%%/testqxfun.ref.txt +%%PORTDOCS%%%%DOCSDIR%%/tpphixqx.ref.txt +%%PORTDOCS%%%%DOCSDIR%%/tpslqm1qx.ref.txt +%%PORTDOCS%%%%DOCSDIR%%/tquadqx.ref.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tpslqm1qx +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tpslqm1qx.f90