From owner-dev-commits-ports-main@freebsd.org Mon May 3 19:30:21 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 27B9763AD38; Mon, 3 May 2021 19:30:21 +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 4FYtNY0dsyz3PdH; Mon, 3 May 2021 19:30:21 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 08B4F23CE4; Mon, 3 May 2021 19:30:21 +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 143JUKUM076033; Mon, 3 May 2021 19:30:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 143JUKdb076024; Mon, 3 May 2021 19:30:20 GMT (envelope-from git) Date: Mon, 3 May 2021 19:30:20 GMT Message-Id: <202105031930.143JUKdb076024@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 8d90630db62d - main - New port: math/asl: COIN-OR autotools harness to build AMPL Solver Library MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8d90630db62de687b68f042d5bab78f23ea5b062 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2021 19:30:21 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=8d90630db62de687b68f042d5bab78f23ea5b062 commit 8d90630db62de687b68f042d5bab78f23ea5b062 Author: Yuri Victorovich AuthorDate: 2021-05-03 19:24:37 +0000 Commit: Yuri Victorovich CommitDate: 2021-05-03 19:30:18 +0000 New port: math/asl: COIN-OR autotools harness to build AMPL Solver Library --- math/Makefile | 1 + math/asl/Makefile | 33 +++++++++++++++++++++++++++++++++ math/asl/distinfo | 5 +++++ math/asl/pkg-descr | 4 ++++ math/asl/pkg-plist | 16 ++++++++++++++++ 5 files changed, 59 insertions(+) diff --git a/math/Makefile b/math/Makefile index c8a77c380365..1ad2d0db85e0 100644 --- a/math/Makefile +++ b/math/Makefile @@ -150,6 +150,7 @@ SUBDIR += arpack++ SUBDIR += arpack-ng SUBDIR += ascent + SUBDIR += asl SUBDIR += aspcud SUBDIR += asymptote SUBDIR += atlas diff --git a/math/asl/Makefile b/math/asl/Makefile new file mode 100644 index 000000000000..21fc5597d253 --- /dev/null +++ b/math/asl/Makefile @@ -0,0 +1,33 @@ +PORTNAME= asl +DISTVERSIONPREFIX= releases/ +DISTVERSION= 1.4.3 +CATEGORIES= math +MASTER_SITES= https://coin-or-tools.github.io/ThirdParty-ASL/:solvers +PKGNAMEPREFIX= coin-or- +DISTFILES= solvers-64919f75f.tgz:solvers + +MAINTAINER= yuri@FreeBSD.org +COMMENT= COIN-OR autotools harness to build AMPL Solver Library + +LICENSE= EPL + +USES= gmake libtool pkgconfig +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= coin-or-tools +GH_PROJECT= ThirdParty-ASL + +GNU_CONFIGURE= yes + +BINARY_ALIAS= make=${GMAKE} + +post-extract: + @cd ${WRKSRC} && ${LN} -s ../solvers . + +post-patch: # patch the side project + @cd ${WRKSRC} && \ + (${ECHO} "#include " && cat solvers/funcadd1.c) > solvers/funcadd1.c.new && \ + ${MV} solvers/funcadd1.c.new solvers/funcadd1.c + +.include diff --git a/math/asl/distinfo b/math/asl/distinfo new file mode 100644 index 000000000000..5abe1edf1624 --- /dev/null +++ b/math/asl/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1620069173 +SHA256 (solvers-64919f75f.tgz) = e212926d1d797701adc901ef18eaab6b15edd13f9281dd8c9266e3cdaf8c2dd3 +SIZE (solvers-64919f75f.tgz) = 360043 +SHA256 (coin-or-tools-ThirdParty-ASL-releases-1.4.3_GH0.tar.gz) = 0a4cfa7c6c5df72d8e1c4c3ce74633421f807115a679e85cb5569c41df9a9aaf +SIZE (coin-or-tools-ThirdParty-ASL-releases-1.4.3_GH0.tar.gz) = 254263 diff --git a/math/asl/pkg-descr b/math/asl/pkg-descr new file mode 100644 index 000000000000..a233aa1012dc --- /dev/null +++ b/math/asl/pkg-descr @@ -0,0 +1,4 @@ +This is an autotools-based build system to build and install the Ampl Solver +Library (ASL) as it is used by some COIN-OR projects. + +WWW: https://github.com/coin-or-tools/ThirdParty-ASL diff --git a/math/asl/pkg-plist b/math/asl/pkg-plist new file mode 100644 index 000000000000..132ba137124d --- /dev/null +++ b/math/asl/pkg-plist @@ -0,0 +1,16 @@ +include/coin/ThirdParty/arith.h +include/coin/ThirdParty/asl.h +include/coin/ThirdParty/asl_pfg.h +include/coin/ThirdParty/asl_pfgh.h +include/coin/ThirdParty/funcadd.h +include/coin/ThirdParty/getstub.h +include/coin/ThirdParty/nlp.h +include/coin/ThirdParty/nlp2.h +include/coin/ThirdParty/opcode.hd +include/coin/ThirdParty/psinfo.h +include/coin/ThirdParty/r_opn.hd +include/coin/ThirdParty/stdio1.h +lib/libcoinasl.so +lib/libcoinasl.so.1 +lib/libcoinasl.so.1.4.3 +libdata/pkgconfig/coinasl.pc