pkgsrc/editors/lyx15/Makefile
xtraeme 6eeb25b461 Initial import of lyx-1.5.3, latest stable version that uses the QT4
toolkit.

LyX 1.5.0 is the culmination of 15 months of hard work since the release of
the LyX 1.4 series. We sincerely hope you will enjoy the result. The changes
are too numerous to summarize in a few words, but initial unicode support is
the flagship among the new features.

As usual with a major release, a lot of work that is not directly visible
has taken place. The core of LyX has seen more cleanups and some of the new
features are the direct results of this work.
2008-02-21 10:07:43 +00:00

64 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2008/02/21 10:07:43 xtraeme Exp $
#
DISTNAME= lyx-1.5.3
CATEGORIES= editors
MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/ \
ftp://ftp.devel.lyx.org/pub/lyx/ \
ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/ \
ftp://ftp.sdsc.edu/pub/other/lyx/stable/ \
http://lyx.mirror.fr/stable/ \
ftp://ftp.lip6.fr/pub/lyx/stable/ \
ftp://ftp.ntua.gr/pub/X11/LyX/stable/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.lyx.org/
COMMENT= Document processor and graphical frontend for LaTeX
CONFLICTS= lyx-qt-[0-9]*
CONFLICTS+= lyx-xforms-[0-9]*
UNLIMIT_RESOURCES+= datasize
USE_DIRS+= texmf-1.0
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
USE_TOOLS+= gmake perl:run
EXTRACT_USING= gtar
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
TEX_ACCEPTED= teTeX3
MAKE_ENV+= PKG_LOCALTEXMFPREFIX=${PKG_LOCALTEXMFPREFIX}
CONFIGURE_ARGS+= --with-qt4-dir=${QTDIR:Q}
CONFIGURE_ARGS+= --with-qt4-includes=${BUILDLINK_PREFIX.qt4-libs}/qt4/include
CONFIGURE_ARGS+= --with-qt4-libraries=${BUILDLINK_PREFIX.qt4-libs}/qt4/lib
CONFIGURE_ARGS+= --with-pspell-lib=${BUILDLINK_PREFIX.aspell}/lib \
--with-pspell-include=${BUILDLINK_PREFIX.aspell}/include/pspell \
--with-pspell
PYTHON_PATCH_SCRIPTS= lib/*.py \
lib/doc/*.py \
lib/lyx2lyx/*.py \
lib/scripts/*.py lib/scripts/listerrors \
po/*.py \
development/tools/*.py \
development/scons/*.py
SUBST_CLASSES+= python
SUBST_STAGE.python= pre-configure
SUBST_FILES.python= lib/configure.py
SUBST_FILES.python+= lib/doc/Makefile.in
SUBST_SED.python= -e "s,python ,${PYTHONBIN} ,"
SUBST_SED.python+= -e "s,python -tt,${PYTHONBIN} -tt,g"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../print/teTeX/module.mk"
.include "../../textproc/aiksaurus/buildlink3.mk"
.include "../../textproc/aspell/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"