2006-09-27 07:04:41 +02:00
|
|
|
# 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
|
2011-02-25 04:19:29 +01:00
|
|
|
PORTREVISION= 3
|
2006-09-27 07:04:41 +02:00
|
|
|
CATEGORIES= graphics python
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2006-09-27 07:04:41 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DIST_SUBDIR= python
|
2009-07-28 18:34:36 +02:00
|
|
|
PATCH_SITES= http://mirror.amdmi3.ru/distfiles/ \
|
2008-07-09 18:22:40 +02:00
|
|
|
${MASTER_SITE_LOCAL:S|%SUBDIR%|amdmi3|}
|
|
|
|
PATCHFILES= glewpy-${PORTVERSION}-generatedsources.diff.bz2
|
2006-09-27 07:04:41 +02:00
|
|
|
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
|
|
COMMENT= Advanced OpenGL extensions to Python
|
|
|
|
|
2007-11-25 00:36:50 +01:00
|
|
|
BUILD_DEPENDS= pyrex>=0.9.6.2:${PORTSDIR}/devel/pyrex
|
2006-09-27 07:04:41 +02:00
|
|
|
|
2010-04-27 23:58:27 +02:00
|
|
|
USE_GL= glew
|
2011-02-25 04:19:29 +01:00
|
|
|
USE_PYTHON= 2.5+
|
2006-09-27 07:04:41 +02:00
|
|
|
USE_PYDISTUTILS=yes
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-09-27 07:04:41 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|