View | Details | Raw Unified | Return to bug 230109
Collapse All | Expand All

(-)py-PyX12/Makefile (-14 / +15 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	PyX
4
PORTNAME=	PyX
5
PORTVERSION=	0.14.1
5
PORTVERSION=	0.12.1
6
PORTEPOCH=	1
6
CATEGORIES=	graphics python
7
CATEGORIES=	graphics python
7
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 12-21 Link Here
12
COMMENT=	Python package for creating encapsulated PostScript figures
13
COMMENT=	Python package for creating encapsulated PostScript figures
13
14
14
LICENSE=	GPLv2
15
LICENSE=	GPLv2
15
LICENSE_FILE=	${WRKSRC}/LICENSE
16
16
17
USES=		localbase python:3.3+
17
USES=		python:2.7
18
USE_TEX=	latex:build
18
USE_TEX=	latex:build dvipsk:run
19
USE_PYTHON=	autoplist distutils
19
USE_PYTHON=	autoplist distutils
20
20
21
OPTIONS_DEFINE=		T1CODE KPATHSEA
21
OPTIONS_DEFINE=		T1CODE KPATHSEA
Lines 22-39 Link Here
22
OPTIONS_DEFAULT=	T1CODE KPATHSEA
22
OPTIONS_DEFAULT=	T1CODE KPATHSEA
23
T1CODE_DESC=		Fast t1 font encoding/decoding
23
T1CODE_DESC=		Fast t1 font encoding/decoding
24
KPATHSEA_DESC=		Python wrapper around kpathsea
24
KPATHSEA_DESC=		Python wrapper around kpathsea
25
KPATHSEA_USE=		TEX=kpathsea
26
25
27
post-patch-KPATHSEA-on:
26
T1CODE_CFLAGS=		-I${LOCALBASE}/include
28
	@${REINPLACE_CMD} -e 's|build_pykpathsea=0|build_pykpathsea=1|' ${WRKSRC}/setup.cfg
27
KPATHSEA_CFLAGS=	-I${LOCALBASE}/include
28
KPATHSEA_LDFLAGS=	-L${LOCALBASE}/lib
29
29
30
post-patch-T1CODE-on:
30
.include <bsd.port.options.mk>
31
32
post-patch:
33
.if ${PORT_OPTIONS:MT1CODE}
31
	@${REINPLACE_CMD} -e 's|build_t1code=0|build_t1code=1|' ${WRKSRC}/setup.cfg
34
	@${REINPLACE_CMD} -e 's|build_t1code=0|build_t1code=1|' ${WRKSRC}/setup.cfg
35
.endif
36
.if ${PORT_OPTIONS:MKPATHSEA}
37
	@${REINPLACE_CMD} -e 's|build_pykpathsea=0|build_pykpathsea=1|' ${WRKSRC}/setup.cfg
38
.endif
32
39
33
post-install-KPATHSEA-on:
34
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyx/pykpathsea.so
35
36
post-install-T1CODE-on:
37
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyx/font/_t1code.so
38
39
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)py-PyX12/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1497359830
1
SHA256 (PyX-0.12.1.tar.gz) = e837b26a8b1c27524cf3f3dd6c0d563451249159edaa2e366d87e7143a867e8e
2
SHA256 (PyX-0.14.1.tar.gz) = 05d1b7fc813379d2c12fcb5bd0195cab522b5aabafac88f72913f1d47becd912
2
SIZE (PyX-0.12.1.tar.gz) = 561989
3
SIZE (PyX-0.14.1.tar.gz) = 2475186

Return to bug 230109