aboutsummaryrefslogtreecommitdiffstats
path: root/editors/texmaker/Makefile
blob: af79d994389c64123d6d121a643a89b000f9412e (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   texmaker
PORTVERSION=    4.4.1
PORTREVISION=   0
PORTEPOCH=  3
CATEGORIES= editors
MASTER_SITES=   http://www.xm1math.net/texmaker/

MAINTAINER= makc@FreeBSD.org
COMMENT=    LaTeX Development Environment

LIB_DEPENDS=    libpoppler.so:${PORTSDIR}/graphics/poppler

USES=       desktop-file-utils pkgconfig qmake tar:bzip2
USE_GHOSTSCRIPT_RUN=    yes
_USE_QT4=   gui network xml webkit \
        moc_build rcc_build uic_build
_USE_QT5=   concurrent network printsupport script webkit widgets \
        xml buildtools_build
USE_TEX=    latex dvipsk
QMAKE_ARGS= ICONDIR=${PREFIX}/share/pixmaps \
        DESKTOPDIR=${DESKTOPDIR}

OPTIONS_SINGLE= TOOLKIT
OPTIONS_SINGLE_TOOLKIT= QT4 QT5
OPTIONS_DEFAULT=    QT5

TOOLKIT_DESC=   Qt toolkit
QT4_USE=    ${_USE_QT4:S/^/QT4=/}
QT4_LIB_DEPENDS=    libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4
QT5_USE=    ${_USE_QT5:S/^/QT5=/}
QT5_LIB_DEPENDS=    libpoppler-qt5.so:${PORTSDIR}/graphics/poppler-qt5

.include <bsd.port.mk>