From nobody Sun Nov 05 18:32:53 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 4SNjlV23GHz4ytns; Sun, 5 Nov 2023 18:32:54 +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 4SNjlV1cgcz3WxB; Sun, 5 Nov 2023 18:32:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699209174; 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=dwPq48d3tH59yu6M4mkpBH0vp0hPSd99pXTnGW+QbLc=; b=MF62xcux+ZUOsnoo+Cft+BuDQh9ABMgX+u64D5GLfHe8gn3OYVqawvjsuQjdT+tZaX+rLR R7FVVKUe4g9X5r8HcztJ//svfn/oDdsS6/6xbVgJZZB8pBMspJr//3IsG+Na4BNB4mWSI1 H1VG+OLas6AX6Vd5prTOInVsNKEXv8nEz2E++mrUZdP9cItbmvbzJSZyEQpE3+WbTeoIGT K2VzyXw7pbh40UQd3zqqG6htiZWStQhWsJUKBmwzuGlHQF81a2FY3bT1JnV5s2M1hA58UU /cJNjF5wv5nxqO0Fnv1HrskrgJN+63/mQ0VPPEd2gTFSpY/M3rnhpwqURLf+EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699209174; 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=dwPq48d3tH59yu6M4mkpBH0vp0hPSd99pXTnGW+QbLc=; b=Big70FlLvyitkBDsMYI6ASSGd5F8ANMTNrX/z7kh/lW4lbu2rqFuJUBgtiri2eJ0M/Ytp1 DqOk4e599dBbkf1Li7td2Pxq1jHdqp36skrOTlBMErqmpsDeyNP5+J14iDehnINzjKgzKg rhNweYhqf1wrOdwaSiLLCgWqOL2+fGh1kXNHgPnnAsVQSLoIrkbjmCcbKYhEYg+05+mFWx 8sGWBgx4olZplORS0OgbZj41xobv03P03kxG+tc78MkUWQYaZfk0LmO3z8okRtplbZkPdB fGbvx+dbl/pbVehkA2HB0jwldAoKgYY0UVIWXmh4XtAJdBvUSXaG3Jl0XrE1XA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699209174; a=rsa-sha256; cv=none; b=GybiWdR78BsfFR4cVQoLnU8NXzG+TCZnK4Eis+88SgatbihBy1JWxzAdFUjm2nUm97tIRl V4YGO2y1595+BNhefV7eQ4/QhVu338HsrqBym93K3rlxyxazHarN6zOUYt8M9zhWubYE+f s0y/zu8EAbC/VVMNSbRtjE0/zU1I3MKhkiOwDzZfsYagZ0mW2UgjWwsthw1Cf/wHlfM2Px CMPHQUlx8dSfDF/nxHPy1qmdtCUoPHZlGVNzt0CLwVKqq8DaNounYEfVuy2woHXfAmMzdN 3TBwmECU1a3K+AB8WBeFHe6n1awA7J+bDrmgVeQdtUrJ8+R1tnUuthk/BqnNaA== 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 4SNjlV0WfTzbQS; Sun, 5 Nov 2023 18:32:54 +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 3A5IWr91037923; Sun, 5 Nov 2023 18:32:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A5IWrX3037920; Sun, 5 Nov 2023 18:32:53 GMT (envelope-from git) Date: Sun, 5 Nov 2023 18:32:53 GMT Message-Id: <202311051832.3A5IWrX3037920@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: edf46ccd6570 - main - math/dqfun: new port, double-quad precision package with special functions 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: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: edf46ccd6570ec12e80e2344605fb1c24713ea26 Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=edf46ccd6570ec12e80e2344605fb1c24713ea26 commit edf46ccd6570ec12e80e2344605fb1c24713ea26 Author: Thierry Thomas AuthorDate: 2023-11-05 18:28:24 +0000 Commit: Thierry Thomas CommitDate: 2023-11-05 18:32:49 +0000 math/dqfun: new port, double-quad precision package with special functions --- math/dqfun/Makefile | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ math/dqfun/distinfo | 3 +++ math/dqfun/pkg-descr | 10 ++++++++++ math/dqfun/pkg-plist | 10 ++++++++++ 4 files changed, 77 insertions(+) diff --git a/math/dqfun/Makefile b/math/dqfun/Makefile new file mode 100644 index 000000000000..a2a5fa1b0e2e --- /dev/null +++ b/math/dqfun/Makefile @@ -0,0 +1,54 @@ +PORTNAME= dqfun +DISTVERSIONPREFIX=v +DISTVERSION= 03 +CATEGORIES= math +MASTER_SITES= https://www.davidhbailey.com/dhbsoftware/ + +MAINTAINER= fortran@FreeBSD.org +COMMENT= Double-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-dq.scr gnu-complink-dq.scr + ${REINPLACE_CMD} -e 's|-O3|${FFLAGS}|' ${BUILD_WRKSRC}/${f} +.endfor + +do-build: + cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ./gnu-complib-dq.scr + +do-build-EXAMPLES-on: + cd ${BUILD_WRKSRC} && \ + ${SETENV} ${MAKE_ENV} ./gnu-complink-dq.scr tpslqm1dq + +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} tpslqm1dq ${STAGEDIR}${EXAMPLESDIR} && \ + ${INSTALL_DATA} tpslqm1dq.f90 ${STAGEDIR}${EXAMPLESDIR} + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README-dqfun.txt ${STAGEDIR}${DOCSDIR} + cd ${BUILD_WRKSRC} && \ + ${INSTALL_DATA} *.ref.txt ${STAGEDIR}${DOCSDIR} + +do-test: + cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ./gnu-dqfun-tests.scr + +.include diff --git a/math/dqfun/distinfo b/math/dqfun/distinfo new file mode 100644 index 000000000000..ddaeb76cc122 --- /dev/null +++ b/math/dqfun/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1699200080 +SHA256 (dqfun-v03.tar.gz) = 3ad51ea391dfbfe69c0f84ef988fe136d5910a2cafe860ddc6c78d3589468295 +SIZE (dqfun-v03.tar.gz) = 99019 diff --git a/math/dqfun/pkg-descr b/math/dqfun/pkg-descr new file mode 100644 index 000000000000..6416f2a3345f --- /dev/null +++ b/math/dqfun/pkg-descr @@ -0,0 +1,10 @@ +DQFUN: A double-quad precision package with special functions (approximately 66 +digit precision). + +This package permits one to perform floating-point computations (real and +complex) to double-quad precision (approximately 65 digits), by making only +relatively minor changes to existing Fortran programs. All basic arithmetic +operations and transcendental functions are supported, together with numerous +special functions. 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/dqfun/pkg-plist b/math/dqfun/pkg-plist new file mode 100644 index 000000000000..feec48d87a4a --- /dev/null +++ b/math/dqfun/pkg-plist @@ -0,0 +1,10 @@ +include/dqfuna.mod +include/dqfune.mod +include/dqmodule.mod +%%PORTDOCS%%%%DOCSDIR%%/README-dqfun.txt +%%PORTDOCS%%%%DOCSDIR%%/testdqfun.ref.txt +%%PORTDOCS%%%%DOCSDIR%%/tpphixdq.ref.txt +%%PORTDOCS%%%%DOCSDIR%%/tpslqm1dq.ref.txt +%%PORTDOCS%%%%DOCSDIR%%/tquaddq.ref.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tpslqm1dq +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tpslqm1dq.f90