freebsd-ports/graphics/py-stltools/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
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
2018-12-12 01:35:33 +00:00

41 lines
1,005 B
Makefile

# Created by: R.F. Smith <rsmith@xs4all.nl>
# $FreeBSD$
PORTNAME= stltools
PORTVERSION= 3.2
PORTREVISION= 3
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>