Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= glpk |
8 |
PORTNAME= glpk |
9 |
PORTVERSION= 4.37 |
9 |
PORTVERSION= 4.38 |
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 51-78
Link Here
|
51 |
CONFIGURE_ARGS+= --disable-mysql |
50 |
CONFIGURE_ARGS+= --disable-mysql |
52 |
.endif |
51 |
.endif |
53 |
|
52 |
|
|
|
53 |
post-patch: |
54 |
@${REINPLACE_CMD} -e "s;\/usr\/include\/mysql;${LOCALBASE}\/include\/mysql;g" \ |
55 |
${WRKSRC}/configure |
56 |
|
54 |
.if !defined(NOPORTDOCS) |
57 |
.if !defined(NOPORTDOCS) |
55 |
PORTDOCS= bench.txt bench1.txt bench2.txt glpk.pdf glpk_faq.txt gmpl.pdf \ |
58 |
PORTDOCS= bench.txt bench1.txt bench2.txt glpk.pdf glpk_faq.txt gmpl.pdf \ |
56 |
opb.txt tables.pdf dfeas.djvu gomory.djvu scaling.djvu \ |
59 |
opb.txt tables.pdf dfeas.djvu gomory.djvu scaling.djvu \ |
57 |
subset.djvu updating.djvu |
60 |
subset.djvu updating.djvu |
58 |
.endif |
|
|
59 |
|
60 |
post-patch: |
61 |
@${REINPLACE_CMD} -e "s;\/usr\/include\/mysql;${LOCALBASE}\/include\/mysql;g" \ |
62 |
${WRKSRC}/configure |
63 |
|
61 |
|
64 |
post-install: |
62 |
post-install: |
65 |
@${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/ |
|
|
66 |
|
67 |
.if !defined(NOPORTDOCS) |
68 |
@${CP} ${WRKSRC}/doc/notes/*.djvu ${WRKSRC}/doc/ |
63 |
@${CP} ${WRKSRC}/doc/notes/*.djvu ${WRKSRC}/doc/ |
69 |
@${MKDIR} ${DOCSDIR} |
64 |
@${MKDIR} ${DOCSDIR} |
70 |
for docfile in ${PORTDOCS} ; do \ |
65 |
for docfile in ${PORTDOCS} ; do \ |
71 |
${INSTALL_MAN} ${WRKSRC}/doc/$${docfile} ${DOCSDIR} ; \ |
66 |
${INSTALL_MAN} ${WRKSRC}/doc/$${docfile} ${DOCSDIR} ; \ |
72 |
done |
67 |
done |
|
|
68 |
|
73 |
.endif |
69 |
.endif |
74 |
|
70 |
|
75 |
regression-test: build |
71 |
regression-test: build |
76 |
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check) |
72 |
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} check) |
77 |
|
73 |
|
78 |
.include <bsd.port.post.mk> |
74 |
.include <bsd.port.post.mk> |