Lines 2-18
Link Here
|
2 |
# $FreeBSD: head/science/psychopy/Makefile 401096 2015-11-09 12:59:03Z antoine $ |
2 |
# $FreeBSD: head/science/psychopy/Makefile 401096 2015-11-09 12:59:03Z antoine $ |
3 |
|
3 |
|
4 |
PORTNAME= psychopy |
4 |
PORTNAME= psychopy |
5 |
PORTVERSION= 1.82.02 |
5 |
PORTVERSION= 1.83.01 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= science python |
6 |
CATEGORIES= science python |
8 |
MASTER_SITES= SF/psychpy/PsychoPy |
7 |
MASTER_SITES= GH |
9 |
DISTNAME= PsychoPy-${PORTVERSION} |
|
|
10 |
|
8 |
|
11 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
12 |
COMMENT= Psychophysics toolkit for Python |
10 |
COMMENT= Psychophysics toolkit for Python |
13 |
|
11 |
|
14 |
BROKEN= unfetchable |
|
|
15 |
|
16 |
LICENSE= GPLv3 # (or later) |
12 |
LICENSE= GPLv3 # (or later) |
17 |
|
13 |
|
18 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \ |
14 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \ |
Lines 26-36
Link Here
|
26 |
|
22 |
|
27 |
NO_ARCH= yes |
23 |
NO_ARCH= yes |
28 |
|
24 |
|
29 |
USES= fortran python zip |
25 |
USE_GITHUB= yes |
|
|
26 |
|
27 |
USES= fortran python |
30 |
USE_PYTHON= autoplist distutils |
28 |
USE_PYTHON= autoplist distutils |
31 |
USE_WX= 2.8 |
29 |
USE_WX= 2.8 |
32 |
WX_COMPS= python |
30 |
WX_COMPS= python |
33 |
WX_UNICODE= yes |
|
|
34 |
|
31 |
|
35 |
PLIST_FILES= bin/psychopy |
32 |
PLIST_FILES= bin/psychopy |
36 |
|
33 |
|
Lines 43-48
Link Here
|
43 |
|
40 |
|
44 |
.include <bsd.port.options.mk> |
41 |
.include <bsd.port.options.mk> |
45 |
|
42 |
|
|
|
43 |
post-patch: |
44 |
# https://github.com/psychopy/psychopy/issues/982 |
45 |
@${REINPLACE_CMD} -e \ |
46 |
's|str(,id_dict)|str(id.dict)|' \ |
47 |
${WRKSRC}/psychopy/demos/coder/iohub/elotouchscreen/run.py |
48 |
|
46 |
post-build: |
49 |
post-build: |
47 |
@${ECHO_CMD} -n > ${WRKDIR}/psychopy |
50 |
@${ECHO_CMD} -n > ${WRKDIR}/psychopy |
48 |
@${ECHO_CMD} "#!${SH}" \ |
51 |
@${ECHO_CMD} "#!${SH}" \ |
Lines 55-61
Link Here
|
55 |
.endif |
58 |
.endif |
56 |
@${ECHO_CMD} \ |
59 |
@${ECHO_CMD} \ |
57 |
>> ${WRKDIR}/psychopy |
60 |
>> ${WRKDIR}/psychopy |
58 |
@${ECHO_CMD} "${PYTHON_CMD} ${LOCALBASE}/bin/psychopyApp.py" \ |
61 |
@${ECHO_CMD} "${PYTHON_CMD} ${PREFIX}/bin/psychopyApp.py" \ |
59 |
>> ${WRKDIR}/psychopy |
62 |
>> ${WRKDIR}/psychopy |
60 |
|
63 |
|
61 |
post-install: |
64 |
post-install: |