From owner-dev-commits-ports-main@freebsd.org Mon May 3 21:35:00 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 50E0F63E1FB; Mon, 3 May 2021 21:35:00 +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 4FYx8N1hCzz3lFm; Mon, 3 May 2021 21:35:00 +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 2955B25650; Mon, 3 May 2021 21:35:00 +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 143LZ0ah040838; Mon, 3 May 2021 21:35:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 143LZ0tC040835; Mon, 3 May 2021 21:35:00 GMT (envelope-from git) Date: Mon, 3 May 2021 21:35:00 GMT Message-Id: <202105032135.143LZ0tC040835@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: 7d164ff37e8d - main - math/bonmin: Install MiniZinc interface 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: 7d164ff37e8d9c929c8854db276499f87b98ad89 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 21:35:00 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d164ff37e8d9c929c8854db276499f87b98ad89 commit 7d164ff37e8d9c929c8854db276499f87b98ad89 Author: Yuri Victorovich AuthorDate: 2021-05-03 21:34:30 +0000 Commit: Yuri Victorovich CommitDate: 2021-05-03 21:34:30 +0000 math/bonmin: Install MiniZinc interface --- math/bonmin/Makefile | 10 +++++++++- math/bonmin/files/bonmin.msc.in | 8 ++++++++ math/bonmin/pkg-plist | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/math/bonmin/Makefile b/math/bonmin/Makefile index a76f7b8cee81..dc42d16600ad 100644 --- a/math/bonmin/Makefile +++ b/math/bonmin/Makefile @@ -1,7 +1,7 @@ PORTNAME= bonmin DISTVERSIONPREFIX= releases/ DISTVERSION= 1.8.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math PKGNAMEPREFIX= coin-or- @@ -32,4 +32,12 @@ INSTALL_TARGET= install-strip TEST_TARGET= test +SUB_FILES= ${PORTNAME}.msc +SUB_LIST= PORTVERSION=${PORTVERSION} + +post-install: + # install MiniZinc configuration file + ${MKDIR} ${STAGEDIR}${PREFIX}/share/minizinc/solvers + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.msc ${STAGEDIR}${PREFIX}/share/minizinc/solvers + .include diff --git a/math/bonmin/files/bonmin.msc.in b/math/bonmin/files/bonmin.msc.in new file mode 100644 index 000000000000..2196a96fb14d --- /dev/null +++ b/math/bonmin/files/bonmin.msc.in @@ -0,0 +1,8 @@ +{ + "id" : "org.coin-or.bonmin", + "name" : "Bonmin", + "executable" : "%%PREFIX%%/bin/bonmin", + "version": "%%PORTVERSION%%", + "supportsFzn":false, + "supportsNL":true +} diff --git a/math/bonmin/pkg-plist b/math/bonmin/pkg-plist index 0af25ad77a05..4e6ed7234f24 100644 --- a/math/bonmin/pkg-plist +++ b/math/bonmin/pkg-plist @@ -73,3 +73,4 @@ libdata/pkgconfig/bonminamplinterface.pc share/coin/doc/Bonmin/AUTHORS share/coin/doc/Bonmin/LICENSE share/coin/doc/Bonmin/README +share/minizinc/solvers/bonmin.msc