Lines 1-10
Link Here
|
1 |
# Created by: ijliao |
|
|
2 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
3 |
|
2 |
|
4 |
PORTNAME= matplotlib |
3 |
PORTNAME= matplotlib |
5 |
PORTVERSION= 1.5.3 |
4 |
PORTVERSION= 1.5.3 |
6 |
PORTREVISION= 2 |
|
|
7 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
|
|
6 |
PORTREVISION= 3 |
8 |
CATEGORIES= math python |
7 |
CATEGORIES= math python |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
10 |
|
9 |
|
Lines 25-39
Link Here
|
25 |
${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing \ |
24 |
${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing \ |
26 |
${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado |
25 |
${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado |
27 |
|
26 |
|
|
|
27 |
USES= compiler:c++11-lib gettext pkgconfig python shebangfix uniquefiles:dirs |
28 |
USE_GITHUB= yes |
28 |
USE_GITHUB= yes |
29 |
|
|
|
30 |
USES= compiler:c++11-lib gettext pkgconfig python:2.7 shebangfix uniquefiles:dirs |
31 |
USE_PYTHON= autoplist distutils |
29 |
USE_PYTHON= autoplist distutils |
32 |
CFLAGS+= -I${LOCALBASE}/include |
30 |
CFLAGS+= -I${LOCALBASE}/include |
33 |
|
31 |
|
34 |
OPTIONS_DEFINE= EXAMPLES GTKBACKEND GTKAGGBACKEND QT4AGGBACKEND \ |
32 |
OPTIONS_DEFINE= EXAMPLES GTKBACKEND GTKAGGBACKEND QT4AGGBACKEND \ |
35 |
QT5AGGBACKEND TKAGGBACKEND WXAGGBACKEND |
33 |
QT5AGGBACKEND TKAGGBACKEND WXAGGBACKEND |
36 |
OPTIONS_DEFAULT= GTKBACKEND GTKAGGBACKEND TKAGGBACKEND |
34 |
OPTIONS_DEFAULT= TKAGGBACKEND |
37 |
OPTIONS_SUB= yes |
35 |
OPTIONS_SUB= yes |
38 |
GTKBACKEND_DESC= GTK backend support |
36 |
GTKBACKEND_DESC= GTK backend support |
39 |
GTKBACKEND_VARS= GTK_BACKEND=True |
37 |
GTKBACKEND_VARS= GTK_BACKEND=True |
Lines 104-107
Link Here
|
104 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
102 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
105 |
${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR} |
103 |
${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR} |
106 |
|
104 |
|
107 |
.include <bsd.port.mk> |
105 |
.include <bsd.port.pre.mk> |
|
|
106 |
|
107 |
.if ${PYTHON_MAJOR_VER} == 3 |
108 |
GTKBACKEND_BROKEN= GTK backend does not work with Python 3 |
109 |
GTKAGGBACKEND_BROKEN= GTKAgg backend does not work with Python 3 |
110 |
.endif |
111 |
|
112 |
.include <bsd.port.post.mk> |