svn commit: r355548 - head/math/glpk

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue May 27 18:18:54 UTC 2014


Author: amdmi3
Date: Tue May 27 18:18:53 2014
New Revision: 355548
URL: http://svnweb.freebsd.org/changeset/ports/355548
QAT: https://qat.redports.org/buildarchive/r355548/

Log:
  - Stagify
  - Add missing USES=libtool
  
  Approved by:	portmgr blanket

Modified:
  head/math/glpk/Makefile
  head/math/glpk/pkg-plist

Modified: head/math/glpk/Makefile
==============================================================================
--- head/math/glpk/Makefile	Tue May 27 18:17:01 2014	(r355547)
+++ head/math/glpk/Makefile	Tue May 27 18:18:53 2014	(r355548)
@@ -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 s
 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

Modified: head/math/glpk/pkg-plist
==============================================================================
--- head/math/glpk/pkg-plist	Tue May 27 18:17:01 2014	(r355547)
+++ head/math/glpk/pkg-plist	Tue May 27 18:18:53 2014	(r355548)
@@ -5,3 +5,4 @@ lib/libglpk.a
 lib/libglpk.la
 lib/libglpk.so
 lib/libglpk.so.36
+lib/libglpk.so.36.0.1


More information about the svn-ports-all mailing list