ports/graphics/py-stltools/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

41 lines
1,005 B
Makefile

# Created by: R.F. Smith <rsmith@xs4all.nl>
# $FreeBSD$
PORTNAME= stltools
PORTVERSION= 3.2
PORTREVISION= 4
CATEGORIES= graphics python
MASTER_SITES= http://rsmith.home.xs4all.nl/files/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rsmith@xs4all.nl
COMMENT= Converts STL models to POV-Ray meshes or PostScript/PDF images
LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYNUMPY}
USES= zip python:2.7
USE_PYTHON= distutils
NO_ARCH= yes
DOCS= README.txt
EXAMPLES= test/cube.stl test/cube_bin.stl
OPTIONS_DEFINE= PYCAIRO DOCS EXAMPLES
PYCAIRO_DESC= Use (py)Cairo to enable stl2pdf to function.
PYCAIRO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>1.8:graphics/py-cairo@${PY_FLAVOR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for i in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>