freebsd-ports/graphics/libkdcraw-kde4/Makefile
Dmitry Marakasov 9c6fb73784 - Update graphics/libraw to 0.17.0
- While here, minor port cleanup, switch to options helpers
- Bump PORTREVISIONs of consumers as soversion has changed

PR:		204553
Submitted by:	graham@menhennitt.com.au
2015-11-22 12:42:48 +00:00

32 lines
901 B
Makefile

# Created by: Dima Panov <fluffy@FreeBSD.org>
# $FreeBSD$
PORTNAME= libkdcraw
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 2
CATEGORIES= graphics kde
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= LibRaw interface for KDE
LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \
liblcms.so:${PORTSDIR}/graphics/lcms \
libxml2.so:${PORTSDIR}/textproc/libxml2 \
libraw.so:${PORTSDIR}/graphics/libraw
CMAKE_ARGS+= -DWITH_OpenMP:BOOL=False \
-DENABLE_RAWSPEED=True
USE_KDE4= automoc4 kdeprefix kdelibs
USES= cmake:outsource jpeg pkgconfig tar:xz
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 <bsd.port.mk>