Changeset View
Changeset View
Standalone View
Standalone View
graphics/pixie/Makefile
# Created by: Igor Pokrovsky <tiamat@comset.net> | # Created by: Igor Pokrovsky <tiamat@comset.net> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= pixie | PORTNAME= pixie | ||||
PORTVERSION= 2.2.6 | PORTVERSION= 2.2.6 | ||||
PORTREVISION= 12 | PORTREVISION= 12 | ||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Pixie%20${PORTVERSION} | MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Pixie%20${PORTVERSION} | ||||
DISTNAME= Pixie-src-${PORTVERSION} | DISTNAME= Pixie-src-${PORTVERSION} | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Photorealistic renderer with Pixar's RenderMan-like interface | COMMENT= Photorealistic renderer with Pixar's RenderMan-like interface #' | ||||
LICENSE= LGPL21+ | LICENSE= LGPL21+ | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR \ | LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR \ | ||||
libtiff.so:graphics/tiff \ | libtiff.so:graphics/tiff \ | ||||
libfltk_gl.so:x11-toolkits/fltk | libfltk_gl.so:x11-toolkits/fltk | ||||
Show All 20 Lines | |||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LDFLAGS+= -L${LOCALBASE}/lib | LDFLAGS+= -L${LOCALBASE}/lib | ||||
BROKEN_aarch64= Fails to compile: error: use of undeclared identifier CRenderer | BROKEN_aarch64= Fails to compile: error: use of undeclared identifier CRenderer | ||||
BROKEN_sparc64= Does not compile on sparc64 | BROKEN_sparc64= Does not compile on sparc64 | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
.include <bsd.port.options.mk> | |||||
.if ${OSVERSION} < 1000033 | |||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex | |||||
CONFIGURE_ENV+= ac_cv_path_FLEX="${LOCALBASE}/bin/flex" | |||||
.endif | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e '/test/s|==|=|g ; \ | @${REINPLACE_CMD} -e '/test/s|==|=|g ; \ | ||||
s|-lpthread|-pthread|g' ${WRKSRC}/configure | s|-lpthread|-pthread|g' ${WRKSRC}/configure | ||||
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \ | @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \ | ||||
/^install-data-am:/s|install-nobase_docDATA||g' \ | /^install-data-am:/s|install-nobase_docDATA||g' \ | ||||
${WRKSRC}/Makefile.in | ${WRKSRC}/Makefile.in | ||||
@${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \ | @${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \ | ||||
${WRKSRC}/src/ri/Makefile.in \ | ${WRKSRC}/src/ri/Makefile.in \ | ||||
${WRKSRC}/src/sdr/Makefile.in | ${WRKSRC}/src/sdr/Makefile.in | ||||
post-install: | post-install-DOCS-on: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
(cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog DEVNOTES NEWS \ | (cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog DEVNOTES NEWS \ | ||||
README ${STAGEDIR}${DOCSDIR}) | README ${STAGEDIR}${DOCSDIR}) | ||||
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ | (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ | ||||
'! -name "*Makefile*"') | '! -name "*Makefile*"') | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |