aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libkexiv2-kde4/Makefile
blob: c20e3759ae3a518ac594e3576cd1f0266283f9e3 (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
# $FreeBSD$

PORTNAME=   libkexiv2
PORTVERSION=    ${KDE4_VERSION}
CATEGORIES= graphics kde
MASTER_SITES=   KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=    KDE/${PORTVERSION}

MAINTAINER= kde@FreeBSD.org
COMMENT=    Exiv2 library interface for KDE

LIB_DEPENDS=    libexiv2.so:${PORTSDIR}/graphics/exiv2

USE_KDE4=   automoc4 kdeprefix kdelibs
USES=       cmake:outsource tar:xz
USE_QT4=    corelib gui xml \
        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>