diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-11-16 17:00:11 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-11-16 17:00:11 +0800 |
commit | 10bc8f9829a3d42b4ad33af4647b417a251b4d81 (patch) | |
tree | 2dfed885650d158c5da1d40065852c8cb6927b63 /math/parmgridgen | |
parent | 1856369756bcde916ca3f994c3bde6ca8da4e958 (diff) | |
download | freebsd-ports-gnome-10bc8f9829a3d42b4ad33af4647b417a251b4d81.tar.gz freebsd-ports-gnome-10bc8f9829a3d42b4ad33af4647b417a251b4d81.tar.zst freebsd-ports-gnome-10bc8f9829a3d42b4ad33af4647b417a251b4d81.zip |
- Pet portlint
- Use proper command for static library installation
- Switch to options helpers
Approved by: portmgr blanket
Diffstat (limited to 'math/parmgridgen')
-rw-r--r-- | math/parmgridgen/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/math/parmgridgen/Makefile b/math/parmgridgen/Makefile index 46427441065b..f08302e5fced 100644 --- a/math/parmgridgen/Makefile +++ b/math/parmgridgen/Makefile @@ -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 |