a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
34 lines
758 B
Makefile
34 lines
758 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gdspy
|
|
PORTVERSION= 1.1.2
|
|
PORTREVISION= 2
|
|
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@${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>
|