aboutsummaryrefslogtreecommitdiff
path: root/cad/pdnmesh/Makefile
blob: 8ce5dc64ddb9b3f98d8eb8556601f41537ba7b1d (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
# New ports collection makefile for:	pdnmesh
# Date created:			25 August 2001
# Whom:				Sarod Yatawatta <sarod@cs.pdn.ac.lk>
#
# $FreeBSD$
#

PORTNAME=	pdnmesh
PORTVERSION=	0.1.9
CATEGORIES=	cad
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:S/$/:sf/} \
		${MASTER_SITE_SUNSITE:S/$/:sun/}
MASTER_SITE_SUBDIR=	${PORTNAME}/:sf science/visualization/:sun
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:sf,sun

MAINTAINER=	sarod@users.sf.net
COMMENT=	A finite element program

LIB_DEPENDS=	gtkglext:${PORTSDIR}/x11-toolkits/gtkglext:install\
		lapack:${PORTSDIR}/math/lapack:install\
		atlas:${PORTSDIR}/math/atlas:install

USE_XLIB=	yes
USE_GL=		yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

USE_AUTOCONF_VER=259
USE_REINPLACE=	yes

MAN1=	pdnmesh.1
MAN5=	pdnmesh_input.5

post-patch:
.for FILE in ${DISTNAME}/configure.in
	@${REINPLACE_CMD} -e "s/\$$FLIBS//g" ${WRKSRC}/${FILE}
.endfor
.include <bsd.port.mk>