summaryrefslogtreecommitdiff
path: root/science/glens/Makefile
blob: 6915b5ea101d17d5822b3f02cd1d7deff32350e8 (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
# ex:ts=8
# Ports collection Makefile for:	glens
# Date created:			Aug 8, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	glens
PORTVERSION=	0.3
CATEGORIES=	science
MASTER_SITES=	http://virtual.theo.phys.ulg.ac.be/

MAINTAINER=	ports@FreeBSD.org

BUILD_DEPENDS=	${X11BASE}/lib/libglui.a:${PORTSDIR}/devel/glui

USE_MESA=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include" \
		LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -lstdc++"
CONFIGURE_ARGS=	--with-glui=${X11BASE}

.if !defined(NOPORTDOCS)
post-install:
	@${MKDIR} ${EXAMPLESDIR}
	${CP} -R ${WRKSRC}/cfg ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>