diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-21 10:28:42 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-21 10:28:42 +0000 |
commit | 6544e164f864612f28ae92d795ef4fd7aea63819 (patch) | |
tree | 58b3ceb66e0430da19a23ebddac8153f7a01238f /math/metis4 | |
parent | 3d148e3d617943c9473f415d41ef08b779d404dd (diff) | |
download | ports-6544e164f864612f28ae92d795ef4fd7aea63819.tar.gz ports-6544e164f864612f28ae92d795ef4fd7aea63819.zip |
Notes
Diffstat (limited to 'math/metis4')
-rw-r--r-- | math/metis4/Makefile | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/math/metis4/Makefile b/math/metis4/Makefile index 120e62389029..5ef476b4b483 100644 --- a/math/metis4/Makefile +++ b/math/metis4/Makefile @@ -24,8 +24,10 @@ PORTSCOUT= limit:4.* PROGRAMS= graphchk kmetis mesh2dual mesh2nodal \ oemetis onmetis partnmesh partdmesh pmetis -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> + .if ${ARCH} == "sparc64" PICFLAG?= -fPIC .else @@ -49,16 +51,13 @@ check regression-test test: build cd ${WRKSRC}/Graphs ; ./mtest 4elt.graph do-install: - cd ${WRKSRC} ; ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin - @${MKDIR} ${PREFIX}/include/metis - ${INSTALL_DATA} ${WRKSRC}/Lib/*.h ${PREFIX}/include/metis - ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}_SHARED/libmetis.so.1 ${PREFIX}/lib - ${LN} -sf libmetis.so.1 ${PREFIX}/lib/libmetis.so - -.ifndef NOPORTDOCS - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR} -.endif + cd ${WRKSRC} ; ${INSTALL_PROGRAM} ${PROGRAMS} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${PREFIX}/include/metis + ${INSTALL_DATA} ${WRKSRC}/Lib/*.h ${STAGEDIR}${PREFIX}/include/metis + ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}_SHARED/libmetis.so.1 ${STAGEDIR}${PREFIX}/lib + ${LN} -sf libmetis.so.1 ${STAGEDIR}${PREFIX}/lib/libmetis.so + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${STAGEDIR}${DOCSDIR} .include <bsd.port.post.mk> |