Lines 22-29
Link Here
|
22 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
23 |
CXXFLAGS+= -ffast-math |
23 |
CXXFLAGS+= -ffast-math |
24 |
|
24 |
|
25 |
OPTIONS_DEFINE= DEBUG DOCS GLPK |
25 |
OPTIONS_DEFINE= DEBUG DOCS FORTRAN GLPK |
26 |
|
26 |
|
|
|
27 |
FORTRAN_DESCR= Use BLAS/LAPACK which involves a fortran interface |
27 |
GLPK_DESC= GNU Linear Programming Kit support |
28 |
GLPK_DESC= GNU Linear Programming Kit support |
28 |
|
29 |
|
29 |
PORTDOCS= * |
30 |
PORTDOCS= * |
Lines 30-35
Link Here
|
30 |
|
31 |
|
31 |
DEBUG_CXXFLAGS= -fomit-frame-pointer |
32 |
DEBUG_CXXFLAGS= -fomit-frame-pointer |
32 |
|
33 |
|
|
|
34 |
FORTRAN_USES= fortran blaslapack |
35 |
FORTRAN_CONFIGURE_ON= --with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib" \ |
36 |
--with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib" |
37 |
|
33 |
GLPK_LIB_DEPENDS= libglpk.so:math/glpk |
38 |
GLPK_LIB_DEPENDS= libglpk.so:math/glpk |
34 |
GLPK_CONFIGURE_ON= --with-gmpl-incdir=${LOCALBASE}/include \ |
39 |
GLPK_CONFIGURE_ON= --with-gmpl-incdir=${LOCALBASE}/include \ |
35 |
--with-gmpl-lib="-L${LOCALBASE}/lib -lglpk" |
40 |
--with-gmpl-lib="-L${LOCALBASE}/lib -lglpk" |
Lines 38-43
Link Here
|
38 |
STRIP_FILES= libCoinUtils libOsi libOsiClp libOsiCommonTests libClp libClpSolver \ |
43 |
STRIP_FILES= libCoinUtils libOsi libOsiClp libOsiCommonTests libClp libClpSolver \ |
39 |
libCgl libCbc libCbcSolver libOsiCbc libCoinMP |
44 |
libCgl libCbc libCbcSolver libOsiCbc libCoinMP |
40 |
|
45 |
|
|
|
46 |
TEST_TARGET= unitTest |
47 |
TEST_WRKSRC= ${WRKSRC}/${PORTNAME} |
48 |
|
41 |
post-patch:: |
49 |
post-patch:: |
42 |
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ |
50 |
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ |
43 |
-e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g' \ |
51 |
-e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g' \ |
Lines 53-60
Link Here
|
53 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${filename}.so.* |
61 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${filename}.so.* |
54 |
.endfor |
62 |
.endfor |
55 |
|
63 |
|
56 |
check regression-test test: build |
|
|
57 |
${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ |
58 |
${MAKE_ARGS} test -C ${WRKSRC} |
59 |
|
60 |
.include <bsd.port.mk> |
64 |
.include <bsd.port.mk> |