summaryrefslogtreecommitdiff
path: root/math/metis/Makefile
blob: 369817ed7587ce3e0d331a06de78d98d54e85e0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:	METIS
# Version required:	4.0
# Date created:         26 Oct 97
# Whom:                 Pedro Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#

DISTNAME=	metis-4.0
CATEGORIES=	math
MASTER_SITES=	http://www-users.cs.umn.edu/~karypis/metis/metis/files/

MAINTAINER=	ports@FreeBSD.org

ALL_TARGET=

do-install:
	$(INSTALL_PROGRAM) $(WRKSRC)/pmetis	$(PREFIX)/bin
	$(INSTALL_PROGRAM) $(WRKSRC)/kmetis	$(PREFIX)/bin
	$(INSTALL_PROGRAM) $(WRKSRC)/oemetis	$(PREFIX)/bin
	$(INSTALL_PROGRAM) $(WRKSRC)/onmetis	$(PREFIX)/bin
	$(INSTALL_PROGRAM) $(WRKSRC)/partnmesh	$(PREFIX)/bin
	$(INSTALL_PROGRAM) $(WRKSRC)/partdmesh	$(PREFIX)/bin
	$(INSTALL_PROGRAM) $(WRKSRC)/mesh2nodal	$(PREFIX)/bin
	$(INSTALL_PROGRAM) $(WRKSRC)/mesh2dual	$(PREFIX)/bin
	$(INSTALL_PROGRAM) $(WRKSRC)/graphchk	$(PREFIX)/bin
	$(INSTALL_DATA) $(WRKSRC)/libmetis.a $(PREFIX)/lib
	${MKDIR} $(PREFIX)/include/metis
	$(INSTALL_DATA) $(WRKSRC)/Lib/defs.h    $(PREFIX)/include/metis
	$(INSTALL_DATA) $(WRKSRC)/Lib/macros.h  $(PREFIX)/include/metis
	$(INSTALL_DATA) $(WRKSRC)/Lib/metis.h   $(PREFIX)/include/metis
	$(INSTALL_DATA) $(WRKSRC)/Lib/proto.h   $(PREFIX)/include/metis
	$(INSTALL_DATA) $(WRKSRC)/Lib/rename.h  $(PREFIX)/include/metis
	$(INSTALL_DATA) $(WRKSRC)/Lib/struct.h  $(PREFIX)/include/metis
.if !defined(NOPORTDOCS)
	${MKDIR} $(PREFIX)/share/doc/METIS
	$(INSTALL_DATA) ${WRKSRC}/Doc/manual.ps $(PREFIX)/share/doc/METIS
.endif

.include <bsd.port.mk>