Lines 16-28
LICENSE_FILE= ${WRKSRC}/LICENSE
Link Here
|
16 |
|
16 |
|
17 |
LIB_DEPENDS= libboost_thread.so:devel/boost-libs |
17 |
LIB_DEPENDS= libboost_thread.so:devel/boost-libs |
18 |
|
18 |
|
19 |
USES= compiler:c++11-lang gmake |
19 |
USES= compiler:c++14-lang gmake |
20 |
USE_CXXSTD= c++14 |
20 |
USE_CXXSTD= c++14 |
21 |
|
21 |
|
22 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
23 |
CONFIGURE_ARGS= --program-transform-name='s/povray/${PKGBASE}/' \ |
23 |
CONFIGURE_ARGS= --program-transform-name='s/povray/${PKGBASE}/' \ |
24 |
COMPILED_BY=${MAINTAINER} |
24 |
COMPILED_BY=${HOSTARCH}-portbld-${OPSYS:tl}-${OSREL:R} |
25 |
|
25 |
|
|
|
26 |
WRKSRC= ${WRKDIR}/${DISTNAME} |
26 |
VERSION_BASE= ${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/} |
27 |
VERSION_BASE= ${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/} |
27 |
DATADIR= ${PREFIX}/share/${PORTNAME}-${VERSION_BASE} |
28 |
DATADIR= ${PREFIX}/share/${PORTNAME}-${VERSION_BASE} |
28 |
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${VERSION-BASE} |
29 |
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${VERSION-BASE} |
Lines 34-42
OPTIONS_DEFINE= DOCS EXAMPLES IO JPEG OPENEXR OPTIMIZED_CFLAGS PNG TIFF \
Link Here
|
34 |
OPTIONS_DEFAULT= JPEG PNG TIFF |
35 |
OPTIONS_DEFAULT= JPEG PNG TIFF |
35 |
OPTIONS_SUB= yes |
36 |
OPTIONS_SUB= yes |
36 |
|
37 |
|
37 |
DOCS_DESC= Install HTML documentation |
38 |
IO_DESC= Without I/O restrictions (security risk) |
38 |
EXAMPLES_DESC= Install example scenes |
|
|
39 |
IO_DESC= Without I/O restrictions (security risk) |
40 |
|
39 |
|
41 |
IO_CONFIGURE_ON= --disable-io-restrictions |
40 |
IO_CONFIGURE_ON= --disable-io-restrictions |
42 |
|
41 |
|
Lines 45-71
JPEG_CONFIGURE_OFF= --without-libjpeg
Link Here
|
45 |
|
44 |
|
46 |
OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ |
45 |
OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ |
47 |
libOpenEXR.so:graphics/openexr |
46 |
libOpenEXR.so:graphics/openexr |
48 |
OPENEXR_CONFIGURE_ON= --with-openexr |
47 |
OPENEXR_CONFIGURE_WITH= openexr |
49 |
OPENEXR_CONFIGURE_OFF= --without-openexr |
|
|
50 |
|
48 |
|
51 |
OPTIMIZED_CFLAGS_CONFIGURE_OFF= --disable-optimiz |
49 |
OPTIMIZED_CFLAGS_CONFIGURE_OFF= --disable-optimiz |
52 |
OPTIMIZED_CFLAGS_CFLAGS= -march=native |
|
|
53 |
|
50 |
|
54 |
PNG_LIB_DEPENDS= libpng.so:graphics/png |
51 |
PNG_LIB_DEPENDS= libpng.so:graphics/png |
55 |
PNG_CONFIGURE_ON= --with-libpng |
52 |
PNG_CONFIGURE_WITH= libpng |
56 |
PNG_CONFIGURE_OFF= --without-libpng |
|
|
57 |
|
53 |
|
58 |
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff |
54 |
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff |
59 |
TIFF_CONFIGURE_ON= --with-libtiff |
55 |
TIFF_CONFIGURE_WITH= libtiff |
60 |
TIFF_CONFIGURE_OFF= --without-libtiff |
|
|
61 |
|
56 |
|
62 |
X11_USES= sdl xorg |
57 |
X11_USES= sdl xorg |
63 |
X11_USE= SDL=sdl \ |
58 |
X11_USE= SDL=sdl \ |
64 |
XORG=ice,sm,x11,xpm |
59 |
XORG=ice,sm,x11,xpm |
65 |
X11_CONFIGURE_OFF= --without-x |
60 |
X11_CONFIGURE_OFF= --without-x |
66 |
|
61 |
|
67 |
WRKSRC= ${WRKDIR}/${DISTNAME} |
|
|
68 |
|
69 |
.include <bsd.port.options.mk> |
62 |
.include <bsd.port.options.mk> |
70 |
|
63 |
|
71 |
.if !${PORT_OPTIONS:MJPEG} || !${PORT_OPTIONS:MPNG} || !${PORT_OPTIONS:MTIFF} |
64 |
.if !${PORT_OPTIONS:MJPEG} || !${PORT_OPTIONS:MPNG} || !${PORT_OPTIONS:MTIFF} |