summaryrefslogtreecommitdiffstats
path: root/graphics/visionegg/Makefile
blob: 149daf12757f516c058e5c2bebfe4defdd62e654 (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
33
34
35
36
37
38
39
40
41
42
# ex:ts=8
# Ports collection makefile for:	visionegg
# Date created:			Jan 9, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	visionegg
PORTVERSION=	0.9.4
PORTREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Visual stimulus creation and control

BUILD_DEPENDS=	\
	${PYNUMERIC} \
	${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging \
	${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl \
	${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
RUN_DEPENDS=	\
	${PYNUMERIC} \
	${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging \
	${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl \
	${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
LIB_DEPENDS=	\
	glut.4:${PORTSDIR}/graphics/libglut

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
PYDISTUTILS_BUILDARGS=	-L${X11BASE}/lib
CFLAGS+=	-I${X11BASE}/include

do-build:
	@(cd ${BUILD_WRKSRC}; \
	  ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_py ; \
	  ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${PYDISTUTILS_BUILDARGS})

.include <bsd.port.mk>
OpenPOWER on IntegriCloud