aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/visionegg/Makefile
blob: e6575a9189eac63b709d371829b3b7c0d3ee2e5c (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
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=    1.0
PORTREVISION=   5
CATEGORIES= graphics
MASTER_SITES=   SF

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

BROKEN=     does not package

USE_GL=     glut
USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_BUILDARGS=  -L${LOCALBASE}/lib
CFLAGS+=    -I${LOCALBASE}/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>