| @@ -1,17 +1,17 @@ | | | @@ -1,17 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.71 2018/12/13 19:51:50 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.72 2018/12/30 15:55:56 rhialto Exp $ |
2 | | | 2 | |
3 | DISTNAME= lyx-2.2.2 | | 3 | DISTNAME= lyx-2.2.2 |
4 | PKGREVISION= 9 | | 4 | PKGREVISION= 10 |
5 | CATEGORIES= editors | | 5 | CATEGORIES= editors |
6 | MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/ | | 6 | MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/ |
7 | MASTER_SITES+= ftp://ftp.sdsc.edu/pub/other/lyx/stable/2.2.x/ | | 7 | MASTER_SITES+= ftp://ftp.sdsc.edu/pub/other/lyx/stable/2.2.x/ |
8 | MASTER_SITES+= ftp://ftp.lip6.fr/pub/lyx/stable/2.2.x/ | | 8 | MASTER_SITES+= ftp://ftp.lip6.fr/pub/lyx/stable/2.2.x/ |
9 | MASTER_SITES+= ftp://ftp.ntua.gr/pub/X11/LyX/stable/2.2.x/ | | 9 | MASTER_SITES+= ftp://ftp.ntua.gr/pub/X11/LyX/stable/2.2.x/ |
10 | EXTRACT_SUFX= .tar.xz | | 10 | EXTRACT_SUFX= .tar.xz |
11 | | | 11 | |
12 | MAINTAINER= reed@reedmedia.net | | 12 | MAINTAINER= reed@reedmedia.net |
13 | HOMEPAGE= http://www.lyx.org/ | | 13 | HOMEPAGE= http://www.lyx.org/ |
14 | COMMENT= Document processor and graphical frontend for LaTeX | | 14 | COMMENT= Document processor and graphical frontend for LaTeX |
15 | LICENSE= gnu-gpl-v2 | | 15 | LICENSE= gnu-gpl-v2 |
16 | | | 16 | |
17 | CONFLICTS+= lyx-xforms-[0-9]* lyx-qt-[0-9]* | | 17 | CONFLICTS+= lyx-xforms-[0-9]* lyx-qt-[0-9]* |
| @@ -59,27 +59,28 @@ DEPENDS+= tex-xypic-[0-9]*:../../graphi | | | @@ -59,27 +59,28 @@ DEPENDS+= tex-xypic-[0-9]*:../../graphi |
59 | UNLIMIT_RESOURCES+= datasize | | 59 | UNLIMIT_RESOURCES+= datasize |
60 | | | 60 | |
61 | USE_LANGUAGES= c c++ | | 61 | USE_LANGUAGES= c c++ |
62 | GNU_CONFIGURE= YES | | 62 | GNU_CONFIGURE= YES |
63 | USE_TOOLS+= gmake perl:run pkg-config xgettext | | 63 | USE_TOOLS+= gmake perl:run pkg-config xgettext |
64 | USE_LIBTOOL= YES | | 64 | USE_LIBTOOL= YES |
65 | USE_PKGLOCALEDIR= YES | | 65 | USE_PKGLOCALEDIR= YES |
66 | PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # not yet ported as of 1.6.10 | | 66 | PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # not yet ported as of 1.6.10 |
67 | | | 67 | |
68 | CXXFLAGS.Linux+= -fpermissive | | 68 | CXXFLAGS.Linux+= -fpermissive |
69 | LDFLAGS.SunOS+= -liconv | | 69 | LDFLAGS.SunOS+= -liconv |
70 | | | 70 | |
71 | CONFIGURE_ARGS+= --without-included-mythes | | 71 | CONFIGURE_ARGS+= --without-included-mythes |
72 | CONFIGURE_ARGS+= --without-included-boost | | 72 | # XXX Uncomment this after updating LyX to latest: |
| | | 73 | #CONFIGURE_ARGS+= --without-included-boost |
73 | | | 74 | |
74 | CONFIGURE_ARGS+= --with-extra-prefix=${BUILDLINK_PREFIX.qt4-libs} \ | | 75 | CONFIGURE_ARGS+= --with-extra-prefix=${BUILDLINK_PREFIX.qt4-libs} \ |
75 | --with-qt4-dir=${QTDIR:Q} \ | | 76 | --with-qt4-dir=${QTDIR:Q} \ |
76 | --with-qt4-includes=${BUILDLINK_PREFIX.qt4-libs}/qt4/include \ | | 77 | --with-qt4-includes=${BUILDLINK_PREFIX.qt4-libs}/qt4/include \ |
77 | --with-qt4-libraries=${BUILDLINK_PREFIX.qt4-libs}/qt4/lib | | 78 | --with-qt4-libraries=${BUILDLINK_PREFIX.qt4-libs}/qt4/lib |
78 | | | 79 | |
79 | .include "../../mk/bsd.prefs.mk" | | 80 | .include "../../mk/bsd.prefs.mk" |
80 | | | 81 | |
81 | PLIST_VARS+= x11 | | 82 | PLIST_VARS+= x11 |
82 | | | 83 | |
83 | .if ${OPSYS} == "Darwin" | | 84 | .if ${OPSYS} == "Darwin" |
84 | GNU_CONFIGURE_PREFIX= ${PREFIX}/Applications/LyX.app | | 85 | GNU_CONFIGURE_PREFIX= ${PREFIX}/Applications/LyX.app |
85 | PLIST_SUBST+= BIN_DIR=Applications/LyX.app/Contents/MacOS \ | | 86 | PLIST_SUBST+= BIN_DIR=Applications/LyX.app/Contents/MacOS \ |
| @@ -174,19 +175,19 @@ SUBST_FILES.python+= src/graphics/Graphi | | | @@ -174,19 +175,19 @@ SUBST_FILES.python+= src/graphics/Graphi |
174 | SUBST_SED.python+= -e "s,\#!/usr/bin/env python,\#!${PYTHONBIN}," | | 175 | SUBST_SED.python+= -e "s,\#!/usr/bin/env python,\#!${PYTHONBIN}," |
175 | SUBST_FILES.python+= lib/scripts/lyxpak.py | | 176 | SUBST_FILES.python+= lib/scripts/lyxpak.py |
176 | SUBST_SED.python+= -e "s, = 'python, = '${PYTHONBIN}," | | 177 | SUBST_SED.python+= -e "s, = 'python, = '${PYTHONBIN}," |
177 | SUBST_FILES.python+= src/support/os.cpp | | 178 | SUBST_FILES.python+= src/support/os.cpp |
178 | SUBST_SED.python+= -e 's,command("python -tt,command("${PYTHONBIN} -tt,' | | 179 | SUBST_SED.python+= -e 's,command("python -tt,command("${PYTHONBIN} -tt,' |
179 | | | 180 | |
180 | .include "../../converters/libiconv/buildlink3.mk" | | 181 | .include "../../converters/libiconv/buildlink3.mk" |
181 | .include "../../devel/gettext-lib/buildlink3.mk" | | 182 | .include "../../devel/gettext-lib/buildlink3.mk" |
182 | .include "../../lang/python/application.mk" | | 183 | .include "../../lang/python/application.mk" |
183 | .include "../../textproc/aspell/buildlink3.mk" | | 184 | .include "../../textproc/aspell/buildlink3.mk" |
184 | .include "../../x11/qt4-libs/buildlink3.mk" | | 185 | .include "../../x11/qt4-libs/buildlink3.mk" |
185 | .include "../../x11/qt4-tools/buildlink3.mk" | | 186 | .include "../../x11/qt4-tools/buildlink3.mk" |
186 | .include "../../textproc/mythes/buildlink3.mk" | | 187 | .include "../../textproc/mythes/buildlink3.mk" |
187 | .include "../../devel/boost-libs/buildlink3.mk" | | 188 | #.include "../../devel/boost-libs/buildlink3.mk" |
188 | | | 189 | |
189 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 190 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
190 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 191 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
191 | .include "../../mk/pthread.buildlink3.mk" | | 192 | .include "../../mk/pthread.buildlink3.mk" |
192 | .include "../../mk/bsd.pkg.mk" | | 193 | .include "../../mk/bsd.pkg.mk" |