# $FreeBSD$ PORTNAME= opengtl PORTVERSION= 0.9.18 PORTREVISION= 3 CATEGORIES= graphics devel MASTER_SITES= http://download.${PORTNAME}.org/ DISTNAME= OpenGTL-${PORTVERSION} PATCH_SITES= http://dev.gentoo.org/~creffett/distfiles/ PATCHFILES= ${PORTNAME}-${PORTVERSION}-llvm-3.3.patch PATCH_DIST_STRIP=-p1 MAINTAINER= avilla@FreeBSD.org COMMENT= Graphics Transformation Languages LICENSE= LGPL20 LIB_DEPENDS= libpng.so:graphics/png \ libLLVM-3.3.so:devel/llvm33 USES= cmake pathfix perl5 tar:bzip2 USE_LDCONFIG= yes CMAKE_ARGS= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config33 PLIST_SUB+= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= SHIVA OPTIONS_DEFAULT=SHIVA SHIVA_DESC= Install filters and generators SHIVA_RUN_DEPENDS=${LOCALBASE}/share/OpenGTL/shiva/kernels/oilify.shiva:graphics/shiva-collections post-patch: # Disable latex doc, it's not ready yet. ${REINPLACE_CMD} -e '/add_subdirectory.*doc/d' \ ${PATCH_WRKSRC}/OpenShiva/CMakeLists.txt pre-configure: ${REINPLACE_CMD} -e 's|set(OPENGTL_LIB_SOVERSION.*|set(OPENGTL_LIB_SOVERSION "0")|' \ ${PATCH_WRKSRC}/CMakeLists.txt .include