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

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

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

LIB_DEPENDS=    sane.1:${PORTSDIR}/graphics/sane-backends

CONFLICTS=  kdegraphics-4.[0-6].*

USE_KDE4=   kdehier kdelibs kdeprefix automoc4
USES=       cmake:outsource
USE_QT4=    moc_build qmake_build rcc_build uic_build
USE_XZ=     yes
USE_LDCONFIG=   yes

NO_STAGE=   yes
pre-configure:
    ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \
        ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>