blob: de14678a6b865faf296edc2e1d049636b8abdaa6 (
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
|
PORTNAME= pyx
PORTVERSION= 0.15
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyX-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python package for creating encapsulated PostScript figures
WWW= https://pyx-project.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.4+
USE_PYTHON= autoplist concurrent distutils
USE_TEX= latex:build
OPTIONS_DEFINE= KPATHSEA T1CODE
OPTIONS_DEFAULT=KPATHSEA T1CODE
KPATHSEA_DESC= Python wrapper around kpathsea
T1CODE_DESC= Fast t1 font encoding/decoding
KPATHSEA_CFLAGS= -I${LOCALBASE}/include
KPATHSEA_LDFLAGS= -L${LOCALBASE}/lib
T1CODE_CFLAGS= -I${LOCALBASE}/include
post-patch-KPATHSEA-on:
@${REINPLACE_CMD} -e 's|build_pykpathsea=0|build_pykpathsea=1|' ${WRKSRC}/setup.cfg
post-patch-T1CODE-on:
@${REINPLACE_CMD} -e 's|build_t1code=0|build_t1code=1|' ${WRKSRC}/setup.cfg
.include <bsd.port.mk>
|