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

Collapse All | Expand All

(-)graphics/pixie/Makefile (-9 / +11 lines)
Lines 17-24 Link Here
17
		libtiff.so:${PORTSDIR}/graphics/tiff \
17
		libtiff.so:${PORTSDIR}/graphics/tiff \
18
		libfltk_gl.so:${PORTSDIR}/x11-toolkits/fltk
18
		libfltk_gl.so:${PORTSDIR}/x11-toolkits/fltk
19
19
20
WRKSRC=		${WRKDIR}/Pixie
21
22
USES=		bison compiler:c++0x libtool pathfix tar:tgz
20
USE_GL=		glu
23
USE_GL=		glu
21
USES=		bison libtool pathfix tar:tgz
22
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
23
CONFIGURE_ARGS=	--includedir=${PREFIX}/include/pixie \
25
CONFIGURE_ARGS=	--includedir=${PREFIX}/include/pixie \
24
		--libdir=${PREFIX}/lib/pixie \
26
		--libdir=${PREFIX}/lib/pixie \
Lines 30-50 Link Here
30
		--with-modulesdir=${PREFIX}/lib/pixie/modules \
32
		--with-modulesdir=${PREFIX}/lib/pixie/modules \
31
		--with-openexr-prefix=${LOCALBASE} \
33
		--with-openexr-prefix=${LOCALBASE} \
32
		--enable-openexr-threads
34
		--enable-openexr-threads
33
WRKSRC=		${WRKDIR}/Pixie
34
INSTALL_TARGET=	install-strip
35
INSTALL_TARGET=	install-strip
35
USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
36
USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
36
37
37
PORTDOCS=	*
38
39
CFLAGS+=	-fPIC
38
CFLAGS+=	-fPIC
40
CPPFLAGS+=	-I${LOCALBASE}/include
39
CPPFLAGS+=	-I${LOCALBASE}/include
41
LDFLAGS+=	-L${LOCALBASE}/lib
40
LDFLAGS+=	-L${LOCALBASE}/lib
42
41
43
sparc64_BROKEN=	Does not compile on sparc64
42
BROKEN_sparc64=	Does not compile on sparc64
43
44
PORTDOCS=	*
44
45
45
OPTIONS_DEFINE=	DOCS
46
OPTIONS_DEFINE=	DOCS
46
47
47
.include <bsd.port.pre.mk>
48
.include <bsd.port.options.mk>
48
49
49
.if ${OSVERSION} < 1000033
50
.if ${OSVERSION} < 1000033
50
BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
51
BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
Lines 57-65 Link Here
57
	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \
58
	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \
58
		 /^install-data-am:/s|install-nobase_docDATA||g' \
59
		 /^install-data-am:/s|install-nobase_docDATA||g' \
59
		 ${WRKSRC}/Makefile.in
60
		 ${WRKSRC}/Makefile.in
61
.for i in src/ri/Makefile.in src/sdr/Makefile.in
60
	@${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \
62
	@${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \
61
		${WRKSRC}/src/ri/Makefile.in \
63
		${WRKSRC}/${i}
62
		${WRKSRC}/src/sdr/Makefile.in
64
.endfor
63
65
64
post-install:
66
post-install:
65
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
67
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
Lines 68-71 Link Here
68
	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
70
	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
69
		'! -name "*Makefile*"')
71
		'! -name "*Makefile*"')
70
72
71
.include <bsd.port.post.mk>
73
.include <bsd.port.mk>
(-)graphics/pixie/pkg-plist (-6 lines)
Lines 82-90 Link Here
82
%%DATADIR%%/shaders/shadowspot.sl
82
%%DATADIR%%/shaders/shadowspot.sl
83
%%DATADIR%%/shaders/spotlight.sdr
83
%%DATADIR%%/shaders/spotlight.sdr
84
%%DATADIR%%/shaders/spotlight.sl
84
%%DATADIR%%/shaders/spotlight.sl
85
@dirrm %%DATADIR%%/shaders
86
@dirrm %%DATADIR%%
87
@dirrm lib/pixie/modules
88
@dirrm lib/pixie/displays
89
@dirrm lib/pixie
90
@dirrm include/pixie

Return to bug 194167