mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
4376dbbb58
FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight
33 lines
864 B
Makefile
33 lines
864 B
Makefile
# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= glewpy
|
|
PORTVERSION= 0.7.4
|
|
PORTREVISION= 6
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= python
|
|
|
|
PATCH_SITES= http://mirror.amdmi3.ru/distfiles/${DIST_SUBDIR}/ \
|
|
LOCAL/amdmi3
|
|
PATCHFILES= glewpy-${PORTVERSION}-generatedsources.diff.bz2
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Advanced OpenGL extensions to Python
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyrex>=0.9.6.2:devel/pyrex@${PY_FLAVOR}
|
|
|
|
USES= python:2.7
|
|
USE_GL= glew
|
|
USE_PYTHON= distutils
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/glew/glew.so
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/glew/gl/*.so
|
|
|
|
.include <bsd.port.mk>
|