summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtkglarea--/Makefile
blob: 8af3f56024bb39e78865ae35dddb2dccba003f62 (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
# ex:ts=8
# New ports collection makefile for:	gtkglarea--
# Date created:			Dec 5, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	gtkglareamm
PORTVERSION=	1.1.1
CATEGORIES=	x11-toolkits
MASTER_SITES=	http://www.ece.ucdavis.edu/~kenelson/gtk-glarea/dist/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GtkGLArea-- is a wrapper for the GtkGLArea widget

BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4
LIB_DEPENDS=	gtkmm.2:${PORTSDIR}/x11-toolkits/gtk-- \
		gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea

USE_MESA=	yes
USE_GNOMENG=	yes
USE_GNOME=	gtk12
USE_LIBTOOL=	yes
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS=	--with-lib-GL
INSTALLS_SHLIB=	yes

CPPFLAGS=	-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS=	-L${LOCALBASE}/lib -L${X11BASE}/lib -lGL -lGLU -lglut \
		${PTHREAD_LIBS}

.include <bsd.port.mk>