Date: Mon, 3 May 2021 21:35:00 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7d164ff37e8d - main - math/bonmin: Install MiniZinc interface Message-ID: <202105032135.143LZ0tC040835@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d164ff37e8d9c929c8854db276499f87b98ad89 commit 7d164ff37e8d9c929c8854db276499f87b98ad89 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-05-03 21:34:30 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105032135.143LZ0tC040835>