1 # Created by: Klemm <andreas@klemm.gtn.com>
5 PORTVERSION= ${MAJOR_VERSION}.${MINOR_VERSION}
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/
13 MAINTAINER= rakuco@FreeBSD.org
14 COMMENT= Document processor interfaced with LaTeX (nearly WYSIWYG)
18 LIB_DEPENDS= libboost_regex.so:devel/boost-libs \
19 libmythes-1.2.so:textproc/mythes
24 USES= desktop-file-utils execinfo gmake iconv pkgconfig perl5 \
26 USE_QT5= core concurrent gui svg widgets buildtools_build qmake_build
28 CONFIGURE_ARGS= --without-included-boost \
29 --without-included-mythes \
31 --with-qt-dir=${LOCALBASE}/lib/qt5 \
32 ${ICONV_CONFIGURE_ARG} \
33 --with-extra-prefix=${LOCALBASE}
35 CPPFLAGS+= ${EXECINFO_CPPFLAGS}
36 LDFLAGS+= ${EXECINFO_LDFLAGS}
39 OPTIONS_DEFINE= ASPELL ENCHANT HUNSPELL NLS
40 OPTIONS_DEFAULT= HUNSPELL
42 ENCHANT_DESC= Spell checking using Enchant
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
53 .include <bsd.port.mk>