Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2017 09:00:11 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454300 - head/math/parmgridgen
Message-ID:  <201711160900.vAG90B1B067325@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Nov 16 09:00:11 2017
New Revision: 454300
URL: https://svnweb.freebsd.org/changeset/ports/454300

Log:
  - Pet portlint
  - Use proper command for static library installation
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/math/parmgridgen/Makefile

Modified: head/math/parmgridgen/Makefile
==============================================================================
--- head/math/parmgridgen/Makefile	Thu Nov 16 09:00:08 2017	(r454299)
+++ head/math/parmgridgen/Makefile	Thu Nov 16 09:00:11 2017	(r454300)
@@ -3,7 +3,7 @@
 
 PORTNAME=	parmgridgen
 PORTVERSION=	1.0
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	math science
 MASTER_SITES=	http://www.mgnet.org/mgnet/Codes/parmgridgen/ \
 		http://www-users.cs.umn.edu/~moulitsa/download/ \
@@ -13,9 +13,9 @@ DISTNAME=	ParMGridGen-${PORTVERSION}
 MAINTAINER=	devel@stasyan.com
 COMMENT=	Library for obtaining a sequence of successive coarse grids
 
-ALL_TARGET=	parallel
+LIB_DEPENDS=	libmpi.so:net/openmpi
 
-LIB_DEPENDS+=	libmpi.so:net/openmpi
+ALL_TARGET=	parallel
 USES=		gmake
 MAKE_JOBS_UNSAFE=	yes
 
@@ -34,9 +34,11 @@ post-patch:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mgridgen ${STAGEDIR}${PREFIX}/bin/mgridgen
 	${INSTALL_PROGRAM} ${WRKSRC}/parmgridgen ${STAGEDIR}${PREFIX}/bin/parmgridgen
-	${INSTALL_PROGRAM} ${WRKSRC}/libmgrid.a ${STAGEDIR}${PREFIX}/lib/libmgrid.a
-	${INSTALL_PROGRAM} ${WRKSRC}/libparmgrid.a ${STAGEDIR}${PREFIX}/lib/libparmgrid.a
+	${INSTALL_DATA} ${WRKSRC}/libmgrid.a ${STAGEDIR}${PREFIX}/lib/libmgrid.a
+	${INSTALL_DATA} ${WRKSRC}/libparmgrid.a ${STAGEDIR}${PREFIX}/lib/libparmgrid.a
 	${INSTALL_DATA} ${WRKSRC}/mgridgen.h ${STAGEDIR}${PREFIX}/include/mgridgen.h
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711160900.vAG90B1B067325>