aboutsummaryrefslogtreecommitdiffstats
path: root/math/glpk
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-28 02:18:53 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-28 02:18:53 +0800
commit19c301e40731d46191615223da9f2bbadd068d88 (patch)
tree9d06ba5d17bea2c7a5bab8debe22955222a489ac /math/glpk
parenta0d6b7d96c9d7acc0bc49e46483c37b83c63349f (diff)
downloadfreebsd-ports-gnome-19c301e40731d46191615223da9f2bbadd068d88.tar.gz
freebsd-ports-gnome-19c301e40731d46191615223da9f2bbadd068d88.tar.zst
freebsd-ports-gnome-19c301e40731d46191615223da9f2bbadd068d88.zip
- Stagify
- Add missing USES=libtool Approved by: portmgr blanket
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