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

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

MAINTAINER= kde@FreeBSD.org
COMMENT=    KDE 4 universal document viewer

LIB_DEPENDS=    djvulibre:${PORTSDIR}/graphics/djvulibre \
        jpeg:${PORTSDIR}/graphics/jpeg \
        qca:${PORTSDIR}/devel/qca \
        tiff:${PORTSDIR}/graphics/tiff \
        poppler-qt4:${PORTSDIR}/graphics/poppler-qt4 \
        spectre:${PORTSDIR}/print/libspectre \
        chm:${PORTSDIR}/misc/chmlib \
        freetype:${PORTSDIR}/print/freetype2 \
        epub:${PORTSDIR}/textproc/ebook-tools

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

USE_KDE4=   kdehier kdelibs kdeprefix automoc4 qimageblitz kactivities
USES=       cmake:outsource
USE_QT4=    corelib declarative gui opengl xml \
        qmake_build moc_build uic_build rcc_build
USE_XZ=     yes
USE_LDCONFIG=   yes

MAN1=       okular.1

OPTIONS_DEFINE= DVI
DVI_DESC=   Support DVI files (requires teTeX)

NO_STAGE=   yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDVI}
USE_TEX=    latex
.endif

.include <bsd.port.mk>