Date: Mon, 3 May 2021 21:34:58 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: 0b85330cae8b - main - math/couenne: Install MiniZinc interface Message-ID: <202105032134.143LYwXR040808@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=0b85330cae8bff2a72207a626a6b6735c07cf497 commit 0b85330cae8bff2a72207a626a6b6735c07cf497 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-05-03 21:21:00 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-05-03 21:29:38 +0000 math/couenne: Install MiniZinc interface --- math/couenne/Makefile | 10 +++++++++- math/couenne/files/couenne.msc.in | 8 ++++++++ math/couenne/pkg-plist | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/math/couenne/Makefile b/math/couenne/Makefile index ed0986eb2d67..b2c61b658f58 100644 --- a/math/couenne/Makefile +++ b/math/couenne/Makefile @@ -1,7 +1,7 @@ PORTNAME= couenne DISTVERSIONPREFIX= releases/ DISTVERSION= 0.5.8 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math PKGNAMEPREFIX= coin-or- @@ -33,4 +33,12 @@ CONFIGURE_ARGS= --with-nauty-incdir=${LOCALBASE}/include/nauty --with-nauty-lib= INSTALL_TARGET= install-strip +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/couenne/files/couenne.msc.in b/math/couenne/files/couenne.msc.in new file mode 100644 index 000000000000..d4c15c6bc233 --- /dev/null +++ b/math/couenne/files/couenne.msc.in @@ -0,0 +1,8 @@ +{ + "id" : "org.coin-or.couenne", + "name" : "Couenne", + "executable" : "%%PREFIX%%/bin/couenne", + "version": "%%PORTVERSION%%", + "supportsFzn":false, + "supportsNL":true +} diff --git a/math/couenne/pkg-plist b/math/couenne/pkg-plist index 9938131cefc5..976e53a41319 100644 --- a/math/couenne/pkg-plist +++ b/math/couenne/pkg-plist @@ -95,3 +95,4 @@ share/coin/doc/Couenne/AUTHORS share/coin/doc/Couenne/LICENSE share/coin/doc/Couenne/README share/coin/doc/Couenne/couenne_addlibs.txt +share/minizinc/solvers/couenne.msc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105032134.143LYwXR040808>