blob: b7ba37ec5046c187d77c777bb02213d0dac0beb9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= highs
DISTVERSIONPREFIX= v
DISTVERSION= 1.13.0
CATEGORIES= math
PKGNAMEPREFIX= coin-or-
MAINTAINER= yuri@FreeBSD.org
COMMENT= Solver for large scale sparse linear programming (LP) problems
WWW= https://github.com/ERGO-Code/HiGHS
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake:testing compiler:c++11-lang pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= ERGO-Code
GH_PROJECT= HiGHS
CMAKE_OFF= BUILD_TESTING
post-install:
# see https://github.com/ERGO-Code/HiGHS/issues/502
${RM} -r ${STAGEDIR}${PREFIX}/external
# remove stray files
@${RM} \
${STAGEDIR}${PREFIX}/LICENSE.txt \
${STAGEDIR}${PREFIX}/README.md \
${STAGEDIR}${PREFIX}/THIRD_PARTY_NOTICES.md
# workaround for https://github.com/ERGO-Code/HiGHS/issues/2250
@${REINPLACE_CMD} \
-e 's|INTERFACE_INCLUDE_DIRECTORIES "/include;|INTERFACE_INCLUDE_DIRECTORIES "|' \
${STAGEDIR}${PREFIX}/lib/cmake/highs/highs-targets.cmake
# tests as of 1.13.0: 100% tests passed, 0 tests failed out of 2
.include <bsd.port.mk>
|