aboutsummaryrefslogtreecommitdiffstats
path: root/editors/kile-kde4/Makefile
blob: 2481ba171f1b5178b99a053d81b2646bb8e9057e (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
# New ports collection makefile for: kile
# Date created:     21 Jun 2002
# Whom:         Stefan Jahn <stefan.jahn@nemesis-sektor.de>
#
# $FreeBSD$
#

PORTNAME=   kile
DISTVERSION=    2.1b4
CATEGORIES= editors kde
MASTER_SITES=   SF/${PORTNAME}/unstable/${PORTNAME}-${DISTVERSION}

MAINTAINER= makc@FreeBSD.org
COMMENT=    A LaTeX source editor for KDE

BUILD_DEPENDS=  ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
RUN_DEPENDS=    latex:${PORTSDIR}/print/teTeX-base \
        identify:${PORTSDIR}/graphics/ImageMagick

USE_BZIP2=  yes
USE_CMAKE=  yes
USE_QT_VER= 4
QT_COMPONENTS=  qmake_build moc_build rcc_build uic_build
USE_KDE4=   kdeprefix kdelibs automoc4
MAKE_JOBS_SAFE= yes

LATEST_LINK=    ${PORTNAME}-kde4

OPTIONS=    OKULAR "Use Okular for viewing" off

.include <bsd.port.options.mk>

.if !defined(WITHOUT_OKULAR)
RUN_DEPENDS+=   ${KDE4_PREFIX}/bin/okular:${PORTSDIR}/graphics/kdegraphics4
.endif

.include <bsd.port.mk>