1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/cad/py-gdspy/Makefile
Gerald Pfeifer c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00

35 lines
755 B
Makefile

# $FreeBSD$
PORTNAME= gdspy
PORTVERSION= 1.1.2
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= cad python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Python module for creating GDSII stream files
LICENSE= GPLv3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${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>