aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kdegraphics4/Makefile
blob: 2a3f8abb19bafeabb0fe0cfd3b83aec485c89dcf (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection Makefile for:    kdegraphics
# Date created:             2008-01-31
# Whom:                 Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   kdegraphics
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=    Graphics utilities for the KDE4 integrated X11 desktop

BUILD_DEPENDS=  kpsewhich:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS=    art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl \
        fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
        freetype:${PORTSDIR}/print/freetype2 \
        fribidi:${PORTSDIR}/converters/fribidi \
        lcms:${PORTSDIR}/graphics/lcms \
        paper:${PORTSDIR}/print/libpaper \
        poppler-qt4:${PORTSDIR}/graphics/poppler-qt4 \
        exiv2.3:${PORTSDIR}/graphics/exiv2 \
        chm.0:${PORTSDIR}/misc/chmlib \
        sane.1:${PORTSDIR}/graphics/sane-backends \
        gphoto2.2:${PORTSDIR}/graphics/libgphoto2 \
        djvulibre:${PORTSDIR}/graphics/djvulibre-nox11 \
        qimageblitz.4:${PORTSDIR}/x11/qimageblitz \
        spectre.1:${PORTSDIR}/print/libspectre \
        qca.2:${PORTSDIR}/devel/qca \
        epub.0:${PORTSDIR}/textproc/ebook-tools

LATEST_LINK=    ${PORTNAME}4

USE_GL=         glut
USE_GHOSTSCRIPT=    yes
USE_KDE4=   kdelibs kdeprefix kdehier automoc4
KDE4_BUILDENV=  yes
USE_BZIP2=  yes
USE_QT_VER= 4
QT_COMPONENTS=  opengl gui svg iconengines pixeltool \
        moc_build rcc_build uic_build qmake_build

post-extract:
    ${MKDIR} ${WRKSRC}

post-patch:
    ${FIND} ${WRKSRC}/.. -type f -name CMakeLists.txt | ${XARGS} \
        ${REINPLACE_CMD} -e 's|pkgconfig|../libdata/pkgconfig|'

.include <bsd.port.mk>