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

Collapse All | Expand All

(-)graphics/pixie/Makefile (-9 / +10 lines)
Lines 12-25 Link Here
12
COMMENT=	Photorealistic renderer with Pixar's RenderMan-like interface
12
COMMENT=	Photorealistic renderer with Pixar's RenderMan-like interface
13
13
14
LICENSE=	LGPL21 # (or later)
14
LICENSE=	LGPL21 # (or later)
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
15
17
LIB_DEPENDS=	libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
16
LIB_DEPENDS=	libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
18
		libtiff.so:${PORTSDIR}/graphics/tiff \
17
		libtiff.so:${PORTSDIR}/graphics/tiff \
19
		libfltk_gl.so:${PORTSDIR}/x11-toolkits/fltk
18
		libfltk_gl.so:${PORTSDIR}/x11-toolkits/fltk
20
19
20
WRKSRC=		${WRKDIR}/Pixie
21
22
USES=		bison compiler:c++0x libtool pathfix tar:tgz
21
USE_GL=		glu
23
USE_GL=		glu
22
USES=		bison libtool pathfix tar:tgz
23
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--includedir=${PREFIX}/include/pixie \
25
CONFIGURE_ARGS=	--includedir=${PREFIX}/include/pixie \
25
		--libdir=${PREFIX}/lib/pixie \
26
		--libdir=${PREFIX}/lib/pixie \
Lines 31-51 Link Here
31
		--with-modulesdir=${PREFIX}/lib/pixie/modules \
32
		--with-modulesdir=${PREFIX}/lib/pixie/modules \
32
		--with-openexr-prefix=${LOCALBASE} \
33
		--with-openexr-prefix=${LOCALBASE} \
33
		--enable-openexr-threads
34
		--enable-openexr-threads
34
WRKSRC=		${WRKDIR}/Pixie
35
INSTALL_TARGET=	install-strip
35
INSTALL_TARGET=	install-strip
36
USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
36
USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
37
37
38
PORTDOCS=	*
39
40
CFLAGS+=	-fPIC
38
CFLAGS+=	-fPIC
41
CPPFLAGS+=	-I${LOCALBASE}/include
39
CPPFLAGS+=	-I${LOCALBASE}/include
42
LDFLAGS+=	-L${LOCALBASE}/lib
40
LDFLAGS+=	-L${LOCALBASE}/lib
43
41
44
BROKEN_sparc64=	Does not compile on sparc64
42
BROKEN_sparc64=	Does not compile on sparc64
45
43
44
PORTDOCS=	*
45
46
OPTIONS_DEFINE=	DOCS
46
OPTIONS_DEFINE=	DOCS
47
47
48
.include <bsd.port.pre.mk>
48
.include <bsd.port.options.mk>
49
49
50
.if ${OSVERSION} < 1000033
50
.if ${OSVERSION} < 1000033
51
BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
51
BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
Lines 58-66 Link Here
58
	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \
58
	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \
59
		 /^install-data-am:/s|install-nobase_docDATA||g' \
59
		 /^install-data-am:/s|install-nobase_docDATA||g' \
60
		 ${WRKSRC}/Makefile.in
60
		 ${WRKSRC}/Makefile.in
61
.for i in src/ri/Makefile.in src/sdr/Makefile.in
61
	@${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \
62
	@${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \
62
		${WRKSRC}/src/ri/Makefile.in \
63
		${WRKSRC}/${i}
63
		${WRKSRC}/src/sdr/Makefile.in
64
.endfor
64
65
65
post-install:
66
post-install:
66
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
67
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
Lines 69-72 Link Here
69
	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
70
	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
70
		'! -name "*Makefile*"')
71
		'! -name "*Makefile*"')
71
72
72
.include <bsd.port.post.mk>
73
.include <bsd.port.mk>

Return to bug 194167