aboutsummaryrefslogtreecommitdiff
path: root/math/glpk
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-27 18:18:53 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-27 18:18:53 +0000
commitab53aa0e5ea1536526fe266ab6e4d2faad2a4337 (patch)
tree9d06ba5d17bea2c7a5bab8debe22955222a489ac /math/glpk
parent5f18032bc4bd9d85cdfcd31e3a0140f1a9bed201 (diff)
downloadports-ab53aa0e5ea1536526fe266ab6e4d2faad2a4337.tar.gz
ports-ab53aa0e5ea1536526fe266ab6e4d2faad2a4337.zip
Notes
Diffstat (limited to 'math/glpk')
-rw-r--r--math/glpk/Makefile10
-rw-r--r--math/glpk/pkg-plist1
2 files changed, 6 insertions, 5 deletions
diff --git a/math/glpk/Makefile b/math/glpk/Makefile
index 16a6bfc6d769..8a7512527f04 100644
--- a/math/glpk/Makefile
+++ b/math/glpk/Makefile
@@ -3,6 +3,7 @@
PORTNAME= glpk
PORTVERSION= 4.52.1
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= glpk
@@ -19,7 +20,7 @@ IODBC_DESC= MathProg iodbc support
MYSQL_DESC= MathProg mysql support
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake libtool:keepla
USE_LDCONFIG= yes
CFLAGS+= -trigraphs
CPPFLAGS+= -D_LSEEK_DECLARED -I${LOCALBASE}/include
@@ -27,7 +28,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-gmp
CONFLICTS= goblin-[0-9]*
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIODBC} || ${PORT_OPTIONS:MMYSQL}
@@ -60,11 +60,11 @@ DOCS2= dfeas.pdf gomory.pdf keller.pdf scaling.pdf updating.pdf
PORTDOCS= ${DOCS1} ${DOCS2}
post-install:
- @${INSTALL_DATA} ${WRKSRC}/src/glplpx.h ${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/src/glplpx.h ${STAGEDIR}${PREFIX}/include
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/doc ; \
- ${INSTALL_DATA} ${DOCS1} ${DOCS2:S|^|notes/|} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOCS1} ${DOCS2:S|^|notes/|} ${STAGEDIR}${DOCSDIR}
.endif
check regression-test test: build
diff --git a/math/glpk/pkg-plist b/math/glpk/pkg-plist
index 5dff5febddaf..877db60fc2bb 100644
--- a/math/glpk/pkg-plist
+++ b/math/glpk/pkg-plist
@@ -5,3 +5,4 @@ lib/libglpk.a
lib/libglpk.la
lib/libglpk.so
lib/libglpk.so.36
+lib/libglpk.so.36.0.1