Index: head/graphics/opengtl/Makefile =================================================================== --- head/graphics/opengtl/Makefile (revision 390783) +++ head/graphics/opengtl/Makefile (revision 390784) @@ -1,48 +1,47 @@ # $FreeBSD$ PORTNAME= opengtl PORTVERSION= 0.9.18 -PORTREVISION= 2 +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 -BROKEN= Depends on deleted devel/llvm32 -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2015-07-21 +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ + libLLVM-3.3.so:${PORTSDIR}/devel/llvm33 -#LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ -# libLLVM-3.2.so:${PORTSDIR}/devel/llvm32 - USES= cmake perl5 tar:bzip2 USE_LDCONFIG= yes -CMAKE_ARGS= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config32 +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:${PORTSDIR}/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 ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ ${PATCH_WRKSRC}/OpenCTL/OpenCTL/CMakeLists.txt \ ${PATCH_WRKSRC}/OpenGTL/GTLCore/CMakeLists.txt \ ${PATCH_WRKSRC}/OpenGTL/GTLImageIO/CMakeLists.txt \ ${PATCH_WRKSRC}/OpenShiva/OpenShiva/CMakeLists.txt .include Index: head/graphics/opengtl/distinfo =================================================================== --- head/graphics/opengtl/distinfo (revision 390783) +++ head/graphics/opengtl/distinfo (revision 390784) @@ -1,2 +1,4 @@ SHA256 (OpenGTL-0.9.18.tar.bz2) = f094b3d2a1a60519975bb3badc05e704f2b93c7a3d2cb753041f2ff27cfcd9f8 SIZE (OpenGTL-0.9.18.tar.bz2) = 536113 +SHA256 (opengtl-0.9.18-llvm-3.3.patch) = c43418bc039660ae86cb86b8b8175342793cb1361c699faa9b6342bc896e3d6c +SIZE (opengtl-0.9.18-llvm-3.3.patch) = 27930 Index: head/graphics/qtgtl/Makefile =================================================================== --- head/graphics/qtgtl/Makefile (revision 390783) +++ head/graphics/qtgtl/Makefile (revision 390784) @@ -1,44 +1,41 @@ # $FreeBSD$ PORTNAME= qtgtl PORTVERSION= 0.9.3 CATEGORIES= graphics devel MASTER_SITES= http://download.opengtl.org/ DISTNAME= libQtGTL-${PORTVERSION} MAINTAINER= avilla@FreeBSD.org COMMENT= Qt bindings for the Graphics Transformation Languages LICENSE= LGPL20 -DEPRECATED= Depends on broken and expiring graphics/opengtl -EXPIRATION_DATE= 2015-07-21 - LIB_DEPENDS= libGTLCore.so:${PORTSDIR}/graphics/opengtl USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build USES= cmake:outsource pkgconfig tar:bzip2 USE_LDCONFIG= yes DESCR= ${.CURDIR:H:H}/graphics/opengtl/pkg-descr PORTEXAMPLES= QtCTL QtShiva OPTIONS_DEFINE= EXAMPLES pre-configure: @${REINPLACE_CMD} -e 's,set(QTGTL_LIB_SOVERSION.*,set(QTGTL_LIB_SOVERSION "0"),' \ ${PATCH_WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's,$${LIB_INSTALL_DIR}/pkgconfig,${PREFIX}/libdata/pkgconfig,g' \ ${PATCH_WRKSRC}/QtGTL/CMakeLists.txt \ ${PATCH_WRKSRC}/QtShiva/CMakeLists.txt post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/examples/${f}/${f:S/Qt/q/} \ ${STAGEDIR}${EXAMPLESDIR}/${f} .endfor .include