Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= glpk |
8 |
PORTNAME= glpk |
9 |
PORTVERSION= 4.43 |
9 |
PORTVERSION= 4.45 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= math |
10 |
CATEGORIES= math |
12 |
MASTER_SITES= ${MASTER_SITE_GNU} |
11 |
MASTER_SITES= ${MASTER_SITE_GNU} |
13 |
MASTER_SITE_SUBDIR= glpk |
12 |
MASTER_SITE_SUBDIR= glpk |
Lines 17-22
Link Here
|
17 |
|
16 |
|
18 |
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp |
17 |
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp |
19 |
|
18 |
|
|
|
19 |
LICENSE= GPLv3 |
20 |
|
20 |
OPTIONS= IODBC "Enable MathProg iodbc support" Off \ |
21 |
OPTIONS= IODBC "Enable MathProg iodbc support" Off \ |
21 |
MYSQL "Enable MathProg mysql support" Off |
22 |
MYSQL "Enable MathProg mysql support" Off |
22 |
|
23 |
|
Lines 26-32
Link Here
|
26 |
CFLAGS+= -trigraphs |
27 |
CFLAGS+= -trigraphs |
27 |
CPPFLAGS+= -I${LOCALBASE}/include |
28 |
CPPFLAGS+= -I${LOCALBASE}/include |
28 |
LDFLAGS+= -L${LOCALBASE}/lib |
29 |
LDFLAGS+= -L${LOCALBASE}/lib |
29 |
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
30 |
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" |
30 |
CONFIGURE_ARGS+= --with-gmp --with-zlib |
31 |
CONFIGURE_ARGS+= --with-gmp --with-zlib |
31 |
|
32 |
|
32 |
.include <bsd.port.pre.mk> |
33 |
.include <bsd.port.pre.mk> |
Lines 56-64
Link Here
|
56 |
${WRKSRC}/configure |
57 |
${WRKSRC}/configure |
57 |
|
58 |
|
58 |
.if !defined(NOPORTDOCS) |
59 |
.if !defined(NOPORTDOCS) |
59 |
PORTDOCS= glpk.pdf glpk_faq.txt gmpl.pdf graphs.pdf miplib2.txt miplib3.txt \ |
60 |
PORTDOCS= dfeas.pdf glpk.pdf glpk_faq.txt gmpl.pdf gomory.pdf graphs.pdf \ |
60 |
netlib.txt opb.txt tables.pdf dfeas.pdf gomory.pdf keller.pdf prepro.pdf \ |
61 |
keller.pdf miplib2.txt miplib3.txt netlib.txt prepro.pdf \ |
61 |
scaling.pdf subset.pdf updating.pdf |
62 |
scaling.pdf updating.pdf |
62 |
|
63 |
|
63 |
post-install: |
64 |
post-install: |
64 |
@${CP} ${WRKSRC}/doc/notes/*.pdf ${WRKSRC}/doc/ |
65 |
@${CP} ${WRKSRC}/doc/notes/*.pdf ${WRKSRC}/doc/ |