blob: d0129147a8d9bbab5936a09ac897a612d958d8ba (
plain)
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
35
|
# $FreeBSD$
PORTNAME= gdspy
PORTVERSION= 1.3.2
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= cad python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Python module for creating GDSII stream files
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= heitzmann
OPTIONS_DEFINE= EXAMPLES
EXAMPLES_PLIST_FILES= ${EXAMPLESDIR}/tutorial.py
post-install:
cd ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} && \
${STRIP_CMD} boolext.so clipper.so
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/tutorial.py \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|