# Created by: wenheping@gmail.com # $FreeBSD$ PORTNAME= psychopy PORTVERSION= 1.82.01 CATEGORIES= science python MASTER_SITES= SF/psychpy/PsychoPy DISTNAME= PsychoPy-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Psychophysics toolkit for Python LICENSE= GPLv3 # (or later) RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \ ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ ${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:${PORTSDIR}/graphics/py-pyglet \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:${PORTSDIR}/math/py-matplotlib \ ${PYTHON_PKGNAMEPREFIX}pandas>0:${PORTSDIR}/math/py-pandas \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:${PORTSDIR}/science/py-scipy \ ${LOCALBASE}/share/fonts/dejavu/DejaVuSerif.ttf:${PORTSDIR}/x11-fonts/dejavu \ ${PYNUMPY} NO_ARCH= yes USES= python zip USE_PYTHON= autoplist distutils USE_WX= 2.8 WX_COMPS= python WX_UNICODE= yes PLIST_FILES= bin/psychopy DESKTOP_ENTRIES="PsychoPy" \ "" \ "${PYTHONPREFIX_SITELIBDIR}/psychopy/app/Resources/psychopy.png" \ "psychopy" \ "" \ "" post-install: ${LN} -sf ${LOCALBASE}/share/fonts/dejavu/DejaVuSerif.ttf \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psychopy/app/Resources ${LN} -sf psychopyApp.py ${STAGEDIR}${PREFIX}/bin/psychopy .include