d65c037b00
- Don't set CMAKE_BUILD_TYPE for debug builds (cmake.mk already handles it) - Don't set WITH_DEBUG for unstable branch (KDE4_BRANCH) - Remove now useless KDE4_BUILDENV KDE SC ports: - Chase KDE4_BUILDENV removal: replace 'KDE4_BUILDENV= yes' with 'USES= cmake:outsource' and add USE_LDCONFIG if needed
33 lines
794 B
Makefile
33 lines
794 B
Makefile
# Created by: Dima Panov <fluffy@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libkdcraw
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
CATEGORIES= graphics kde
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= A LibRaw interface for KDE
|
|
|
|
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms
|
|
|
|
LATEST_LINK= ${PORTNAME}-kde4
|
|
|
|
CONFLICTS= kdegraphics-4.[0-6].*
|
|
|
|
USE_XZ= yes
|
|
USE_KDE4= automoc4 kdehier kdeprefix kdelibs
|
|
USES= cmake:outsource
|
|
USE_QT4= dbus gui xml \
|
|
moc_build qmake_build rcc_build uic_build
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_SAFE= 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>
|