diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2014-07-01 23:44:40 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2014-07-01 23:44:40 +0000 |
commit | 9226e02bc11d7f3bce1c636797cb7a2c49f75c41 (patch) | |
tree | 1f4a89b6c1b9ca9e42c54df12802d9925b9ed9fb /math/metis | |
parent | 411f65f26d00c169bee6742bf10c539f7695412c (diff) |
Notes
Diffstat (limited to 'math/metis')
-rw-r--r-- | math/metis/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/math/metis/Makefile b/math/metis/Makefile index 2c5fe703053c..3cc47e8ee390 100644 --- a/math/metis/Makefile +++ b/math/metis/Makefile @@ -24,7 +24,8 @@ STATIC_DESC= libmetis archive OPTIONS_DEFAULT= SHARED STATIC -NO_STAGE= yes +BINS= cmpfillin gpmetis graphchk m2gmetis mpmetis ndmetis + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MOPENMP} @@ -104,6 +105,13 @@ do-build: ${MAKE_ARGS} ${ALL_TARGET_${o}} .endif .endfor +.if ${PORT_OPTIONS:MSHARED} + @cd ${WRKSRC_SHARED}/programs; ${STRIP_CMD} ${BINS} + @cd ${WRKSRC_SHARED}/libmetis; ${STRIP_CMD} libmetis.so.* +.endif +.if ${PORT_OPTIONS:MSTATIC} + @cd ${WRKSRC_STATIC}/libmetis; ${STRIP_CMD} libmetis.a +.endif check regression-test test: build cd ${WRKSRC_SHARED}/graphs ; ../programs/gpmetis ./4elt.graph 5 @@ -121,8 +129,8 @@ do-install: PORTDOCS= manual.pdf post-install: - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/manual/manual.pdf ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/manual/manual.pdf ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |