blob: 1375f838efe5514f7053e45abb474dced3a9042f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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 \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
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 kdehier kdeprefix kdelibs
USES= cmake:outsource 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>
|