aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-glewpy/Makefile
blob: 6cf808aadbd3e7fb5e6394800f97db226a618cec (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
# New ports collection makefile for:    py-glewpy
# Date created:     2006-09-26
# Whom:         Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   glewpy
PORTVERSION=    0.7.4
CATEGORIES= graphics python
MASTER_SITES=   SF
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR=    python

MAINTAINER= acm@FreeBSD.org
COMMENT=    Advanced OpenGL extensions to Python

BUILD_DEPENDS=  pyrexc:${PORTSDIR}/devel/pyrex
LIB_DEPENDS=    GLEW.1:${PORTSDIR}/graphics/glew

USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes

CPPFLAGS+=  -I${LOCALBASE}/include -I${X11BASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -L${X11BASE}/lib
MAKE_ENV+=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

.include <bsd.port.mk>