# New ports collection makefile for: METIS # Date created: 26 Oct 97 # Whom: Pedro Giffuni <giffunip@asme.org> # # $FreeBSD$ # PORTNAME= metis PORTVERSION= 4.0 CATEGORIES= math MASTER_SITES= http://www-users.cs.umn.edu/~karypis/metis/metis/files/ MAINTAINER= ports@FreeBSD.org COMMENT= A package for unstructured graph partitioning CONFLICTS= metis-edf-* ALL_TARGET= PROGRAMS= graphchk kmetis mesh2dual mesh2nodal \ oemetis onmetis partnmesh partdmesh pmetis do-install: .for p in ${PROGRAMS} ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin .endfor @${MKDIR} ${PREFIX}/include/metis ${INSTALL_DATA} ${WRKSRC}/Lib/*.h ${PREFIX}/include/metis ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib .ifndef NOPORTDOCS @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR} .endif .include <bsd.port.mk>