e9c34f4c34
Among changes: - Switch KDE4_PREFIX to ${LOCALBASE} - Remove now needless misc/kde4-shared-mime-info port - Add stage support - Remove ancient CONFLICTS (KDE 4.9 and less) and LATEST_LINK - Squeeze MASTER_SITES/MASTER_SITE_SUBDIR - Convert LIB_DEPENDS to new style - Use options helpers - Drop support for FreeBSD 7.x - Remove Qt/KDE 3 related workarounds - Remove local patches and use upstream version scheme for libraries - sysutils/kdeadmin4, net/kdenetwork4, devel/kdesdk4, and x11-clocks/kdetoys4 ports have been split. - devel/kcachegrind is now a part of KDE SC [1] - more logs in area51 repo... New ports: devel/kde-dev-scripts: KDE development scripts devel/kde-dev-utils: KDE development utilities games/klickety: Tetris themed solitaire games/picmi: Single player logic-based puzzle game textproc/libkomparediff2: Library to compare files and strings The area51 repository features commits by Schaich Alonso, avilla, rakuco and myself. PR: ports/186491 Exp-run: by bdrewery Approved by: beat (former maintainer) [1]
33 lines
938 B
Makefile
33 lines
938 B
Makefile
# Created by: Dima Panov <fluffy@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libkdcraw
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
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_XZ= yes
|
|
USE_KDE4= automoc4 kdehier kdeprefix kdelibs
|
|
USES= cmake:outsource pkgconfig
|
|
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>
|