# Created by: Dima Panov # $FreeBSD$ PORTNAME= libkdcraw PORTVERSION= ${KDE4_VERSION} PORTREVISION= 6 CATEGORIES= graphics kde kde-kde4 MAINTAINER= kde@FreeBSD.org COMMENT= LibRaw interface for KDE LIB_DEPENDS= liblcms.so:graphics/lcms \ libxml2.so:textproc/libxml2 \ libraw.so:graphics/libraw CMAKE_ARGS+= -DWITH_OpenMP:BOOL=False \ -DENABLE_RAWSPEED=True USES= cmake:outsource jpeg kde:4 pkgconfig tar:xz USE_KDE= automoc4 kdelibs USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes pre-configure: ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \ -e 's/${PORTNAME}.pc\([^.]\)/${PORTNAME}-kde4.pc\1/g' \ ${WRKSRC}/CMakeLists.txt .include