blob: 75b29d01129175e7b94f280d3821e4e23979ea9d (
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
|
# ex:ts=8
# Ports collection Makefile for: glens
# Date created: Aug 8, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= glens
PORTVERSION= 0.3
PORTREVISION= 1
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_REINPLACE= yes
USE_MESA= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-glui=${X11BASE}
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
post-patch:
@${REINPLACE_CMD} 's|-O6||g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}/cfg
${INSTALL_DATA} ${WRKSRC}/cfg/*.cgf ${EXAMPLESDIR}/cfg
.endif
.include <bsd.port.mk>
|