Tweak print/pdf4tcl version 0.8
[dports.git] / print / lyx / Makefile
1 # Created by: Klemm <andreas@klemm.gtn.com>
2 # $FreeBSD$
3
4 PORTNAME=       lyx
5 PORTVERSION=    ${MAJOR_VERSION}.${MINOR_VERSION}
6 PORTREVISION=   4
7 CATEGORIES=     print editors
8 MASTER_SITES=   ftp://ftp.lyx.org/pub/lyx/stable/${MAJOR_VERSION}.x/ \
9                 http://www-ftp.lip6.fr/ftp/pub/lyx/stable/${MAJOR_VERSION}.x/ \
10                 ftp://ftp.ntua.gr/pub/X11/LyX/stable/${MAJOR_VERSION}.x/ \
11                 http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/${MAJOR_VERSION}.x/
12
13 MAINTAINER=     rakuco@FreeBSD.org
14 COMMENT=        Document processor interfaced with LaTeX (nearly WYSIWYG)
15
16 LICENSE=        GPLv2
17
18 LIB_DEPENDS=    libboost_regex.so:devel/boost-libs \
19                 libmythes-1.2.so:textproc/mythes
20
21 MAJOR_VERSION=  2.2
22 MINOR_VERSION=  2
23
24 USES=           desktop-file-utils execinfo gmake iconv pkgconfig perl5 \
25                 python:2 tar:xz
26 USE_QT5=        core concurrent gui svg widgets buildtools_build qmake_build
27 GNU_CONFIGURE=  yes
28 CONFIGURE_ARGS= --without-included-boost \
29                 --without-included-mythes \
30                 --enable-qt5 \
31                 --with-qt-dir=${LOCALBASE}/lib/qt5 \
32                 ${ICONV_CONFIGURE_ARG} \
33                 --with-extra-prefix=${LOCALBASE}
34
35 CPPFLAGS+=      ${EXECINFO_CPPFLAGS}
36 LDFLAGS+=       ${EXECINFO_LDFLAGS}
37 LIBS+=          -lexecinfo
38
39 OPTIONS_DEFINE=         ASPELL ENCHANT HUNSPELL NLS
40 OPTIONS_DEFAULT=        HUNSPELL
41 OPTIONS_SUB=            yes
42 ENCHANT_DESC=           Spell checking using Enchant
43
44 ASPELL_CONFIGURE_OFF=   --without-aspell
45 ASPELL_LIB_DEPENDS=     libaspell.so:textproc/aspell
46 ENCHANT_CONFIGURE_OFF=  --without-enchant
47 ENCHANT_LIB_DEPENDS=    libenchant.so:textproc/enchant
48 HUNSPELL_CONFIGURE_OFF= --without-hunspell
49 HUNSPELL_LIB_DEPENDS=   libhunspell-1.6.so:textproc/hunspell
50 NLS_CONFIGURE_OFF=      --disable-nls
51 NLS_USES=               gettext
52
53 .include <bsd.port.mk>