mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
19ed7411ac
- Add LICENSE_FILE - Use USES=localbase - Add missing dependency - Convert to options target helper - Strip shared library Changes: https://sourceforge.net/p/pyx/code/HEAD/tree/trunk/pyx/CHANGES
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= PyX
|
|
PORTVERSION= 0.14.1
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
PKGNAMESUFFIX= 12
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python package for creating encapsulated PostScript figures
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= localbase python:3.3+
|
|
USE_TEX= latex:build
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
OPTIONS_DEFINE= T1CODE KPATHSEA
|
|
OPTIONS_DEFAULT= T1CODE KPATHSEA
|
|
T1CODE_DESC= Fast t1 font encoding/decoding
|
|
KPATHSEA_DESC= Python wrapper around kpathsea
|
|
KPATHSEA_USE= TEX=kpathsea
|
|
|
|
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
|
|
|
|
post-install-KPATHSEA-on:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyx/pykpathsea.so
|
|
|
|
post-install-T1CODE-on:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyx/font/_t1code.so
|
|
|
|
.include <bsd.port.mk>
|