blob: 549df259c96270499b426b5b84a1f86ea7c3cb46 (
plain)
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
|
# 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
PORTREVISION= 2
CATEGORIES= graphics python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python
PATCH_SITES= http://mirror.amdmi3.ru/distfiles/ \
${MASTER_SITE_LOCAL:S|%SUBDIR%|amdmi3|}
PATCHFILES= glewpy-${PORTVERSION}-generatedsources.diff.bz2
MAINTAINER= acm@FreeBSD.org
COMMENT= Advanced OpenGL extensions to Python
BUILD_DEPENDS= pyrex>=0.9.6.2:${PORTSDIR}/devel/pyrex
LIB_DEPENDS= GLEW.1:${PORTSDIR}/graphics/glew
USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.include <bsd.port.mk>
|