aboutsummaryrefslogtreecommitdiff
path: root/math/concorde/Makefile
blob: d71e5d874b44a7d637f25502a70714fcd4ad6e73 (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
# New ports collection makefile for:	concorde
# Date created:				3 July 2000
# Whom:					dbader@eece.unm.edu
#
# $FreeBSD$
#

PORTNAME=	concorde
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	ftp://ftp.caam.rice.edu/pub/software/keck/
DISTNAME=	co991215
EXTRACT_SUFX=	.tgz

MAINTAINER=	dbader@eece.unm.edu

WRKSRC=		${WRKDIR}/concorde

GNU_CONFIGURE=  yes

INCFILES=	bigguy.h combs.h config.h consec1.h cut.h cuttree.h \
		delaunay.h edgegen.h fmatch.h heldkarp.h kdtree.h \
		linkern.h localcut.h lp.h machdefs.h macrorus.h mlinkern.h \
		necklace.h pq.h pqsets.h profdata.h profrus.h tinytsp.h \
		tsp.h util.h verify.h

do-install:
	${INSTALL_DATA} ${WRKSRC}/concorde.a ${PREFIX}/lib/libconcorde.a
	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 ${PREFIX}/include/concorde
	${INSTALL_DATA} ${WRKSRC}/concorde.h ${PREFIX}/include/concorde
.for f in ${INCFILES}
	${INSTALL_DATA} ${WRKSRC}/INCLUDE/${f} ${PREFIX}/include/concorde
.endfor

.include <bsd.port.mk>