View | Details | Raw Unified | Return to bug 273098 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 273098