pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/lyx Make lyx build on Mac OS X.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f803daabb32c
branches:  trunk
changeset: 586252:f803daabb32c
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Mar 09 18:48:51 2011 +0000

description:
Make lyx build on Mac OS X.

diffstat:

 editors/lyx/Makefile     |    17 +-
 editors/lyx/PLIST        |  2816 +++++++++++++++++++++++-----------------------
 editors/lyx/PLIST.Darwin |     9 +
 3 files changed, 1433 insertions(+), 1409 deletions(-)

diffs (truncated from 2864 to 300 lines):

diff -r 961074540d42 -r f803daabb32c editors/lyx/Makefile
--- a/editors/lyx/Makefile      Wed Mar 09 17:55:26 2011 +0000
+++ b/editors/lyx/Makefile      Wed Mar 09 18:48:51 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2011/01/13 13:37:31 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2011/03/09 18:48:51 minskim Exp $
 #
 
 DISTNAME=              lyx-1.6.8
@@ -41,6 +41,21 @@
                        --with-pspell-include=${BUILDLINK_PREFIX.aspell}/include/pspell \
                        --with-pspell
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+GNU_CONFIGURE_PREFIX=  ${PREFIX}/Applications/LyX.app
+PLIST_SUBST+=          BIN_DIR=Applications/LyX.app/Contents/MacOS \
+                       LYX=LyX \
+                       MAN_DIR=Applications/LyX.app/Contents/Resources/man \
+                       SHARE_DIR=Applications/LyX.app/Contents/Resources
+.else
+PLIST_SUBST+=          BIN_DIR=bin \
+                       LYX=lyx \
+                       MAN_DIR="${PKGMANDIR}" \
+                       SHARE_DIR=share/lyx
+.endif
+
 PYTHON_PATCH_SCRIPTS=  development/tools/convert_kmap.py \
                        development/tools/generate_symbols_list.py \
                        development/tools/lyxpak.py \
diff -r 961074540d42 -r f803daabb32c editors/lyx/PLIST
--- a/editors/lyx/PLIST Wed Mar 09 17:55:26 2011 +0000
+++ b/editors/lyx/PLIST Wed Mar 09 18:48:51 2011 +0000
@@ -1,1408 +1,1408 @@
-@comment $NetBSD: PLIST,v 1.4 2010/12/01 19:34:49 drochner Exp $
-bin/lyx
-bin/lyxclient
-bin/tex2lyx
-man/man1/lyx.1
-man/man1/lyxclient.1
-man/man1/tex2lyx.1
-share/locale/ar/LC_MESSAGES/lyx.mo
-share/locale/ca/LC_MESSAGES/lyx.mo
-share/locale/cs/LC_MESSAGES/lyx.mo
-share/locale/de/LC_MESSAGES/lyx.mo
-share/locale/el/LC_MESSAGES/lyx.mo
-share/locale/en/LC_MESSAGES/lyx.mo
-share/locale/es/LC_MESSAGES/lyx.mo
-share/locale/eu/LC_MESSAGES/lyx.mo
-share/locale/fi/LC_MESSAGES/lyx.mo
-share/locale/fr/LC_MESSAGES/lyx.mo
-share/locale/gl/LC_MESSAGES/lyx.mo
-share/locale/he/LC_MESSAGES/lyx.mo
-share/locale/hu/LC_MESSAGES/lyx.mo
-share/locale/id/LC_MESSAGES/lyx.mo
-share/locale/it/LC_MESSAGES/lyx.mo
-share/locale/ja/LC_MESSAGES/lyx.mo
-share/locale/nb/LC_MESSAGES/lyx.mo
-share/locale/nn/LC_MESSAGES/lyx.mo
-share/locale/pl/LC_MESSAGES/lyx.mo
-share/locale/pt/LC_MESSAGES/lyx.mo
-share/locale/ro/LC_MESSAGES/lyx.mo
-share/locale/ru/LC_MESSAGES/lyx.mo
-share/locale/sk/LC_MESSAGES/lyx.mo
-share/locale/sr/LC_MESSAGES/lyx.mo
-share/locale/tr/LC_MESSAGES/lyx.mo
-share/locale/uk/LC_MESSAGES/lyx.mo
-share/locale/zh_CN/LC_MESSAGES/lyx.mo
-share/locale/zh_TW/LC_MESSAGES/lyx.mo
-share/lyx/CREDITS
-share/lyx/bind/aqua.bind
-share/lyx/bind/broadway.bind
-share/lyx/bind/cua.bind
-share/lyx/bind/cyrkeys.bind
-share/lyx/bind/de/menus.bind
-share/lyx/bind/emacs.bind
-share/lyx/bind/fi/menus.bind
-share/lyx/bind/greekkeys.bind
-share/lyx/bind/hollywood.bind
-share/lyx/bind/latinkeys.bind
-share/lyx/bind/mac.bind
-share/lyx/bind/math.bind
-share/lyx/bind/menus.bind
-share/lyx/bind/pt/menus.bind
-share/lyx/bind/sciword.bind
-share/lyx/bind/site.bind
-share/lyx/bind/sv/menus.bind
-share/lyx/bind/xemacs.bind
-share/lyx/chkconfig.ltx
-share/lyx/commands/default.def
-share/lyx/configure.py
-share/lyx/configure.pyc
-share/lyx/configure.pyo
-share/lyx/doc/Customization.lyx
-share/lyx/doc/DummyDocument1.lyx
-share/lyx/doc/DummyDocument2.lyx
-share/lyx/doc/DummyTextDocument.txt
-share/lyx/doc/EmbeddedObjects.lyx
-share/lyx/doc/Extended.lyx
-share/lyx/doc/Formula-numbering.lyx
-share/lyx/doc/Intro.lyx
-share/lyx/doc/LFUNs.lyx
-share/lyx/doc/LaTeXConfig.lyx
-share/lyx/doc/Math.lyx
-share/lyx/doc/Shortcuts.lyx
-share/lyx/doc/Tutorial.lyx
-share/lyx/doc/UserGuide.lyx
-share/lyx/doc/biblio/LyXDocs.bib
-share/lyx/doc/biblio/alphadin.bst
-share/lyx/doc/ca/Intro.lyx
-share/lyx/doc/clipart/Abstract.pdf
-share/lyx/doc/clipart/BoxInsetDefaultQt4.png
-share/lyx/doc/clipart/ChangesToolbar.png
-share/lyx/doc/clipart/ChildDocumentQt4.png
-share/lyx/doc/clipart/CommentNoteImageQt4.png
-share/lyx/doc/clipart/ERT.png
-share/lyx/doc/clipart/ExternalMaterialQt4.png
-share/lyx/doc/clipart/ExtraToolbar.png
-share/lyx/doc/clipart/GreyedOutNoteImageQt4.png
-share/lyx/doc/clipart/LaTeX.png
-share/lyx/doc/clipart/LyXNoteImageQt4.png
-share/lyx/doc/clipart/MacroToolbar.png
-share/lyx/doc/clipart/SpaceMarker.png
-share/lyx/doc/clipart/StandardToolbar.png
-share/lyx/doc/clipart/ToolbarEnvBox.png
-share/lyx/doc/clipart/ViewToolbar.png
-share/lyx/doc/clipart/endnotes.pdf
-share/lyx/doc/clipart/escher-lsd.eps
-share/lyx/doc/clipart/floatQt4.png
-share/lyx/doc/clipart/footnoteQt4.png
-share/lyx/doc/clipart/labelQt4.png
-share/lyx/doc/clipart/macrobox.png
-share/lyx/doc/clipart/macrouse.png
-share/lyx/doc/clipart/mbox.png
-share/lyx/doc/clipart/mobius.eps
-share/lyx/doc/clipart/platypus.eps
-share/lyx/doc/clipart/referenceQt4.png
-share/lyx/doc/clipart/with_fntright.pdf
-share/lyx/doc/clipart/without_fntright.pdf
-share/lyx/doc/cs/Tutorial.lyx
-share/lyx/doc/da/Intro.lyx
-share/lyx/doc/de/Customization.lyx
-share/lyx/doc/de/DummyDocument1.lyx
-share/lyx/doc/de/DummyDocument2.lyx
-share/lyx/doc/de/DummyTextDocument.txt
-share/lyx/doc/de/EmbeddedObjects.lyx
-share/lyx/doc/de/Extended.lyx
-share/lyx/doc/de/Formelnummerierung.lyx
-share/lyx/doc/de/Intro.lyx
-share/lyx/doc/de/Math.lyx
-share/lyx/doc/de/Shortcuts.lyx
-share/lyx/doc/de/Tutorial.lyx
-share/lyx/doc/de/UserGuide.lyx
-share/lyx/doc/de/clipart/ERT.png
-share/lyx/doc/de/clipart/ExternesMaterialQt4.png
-share/lyx/doc/de/clipart/FussnoteQt4.png
-share/lyx/doc/de/clipart/GleitobjektQt4.png
-share/lyx/doc/de/clipart/GrauschriftNotizQt4.png
-share/lyx/doc/de/clipart/KommentarQt4.png
-share/lyx/doc/de/clipart/LyXNotizQt4.png
-share/lyx/doc/de/clipart/Marke.png
-share/lyx/doc/de/clipart/Querverweis.png
-share/lyx/doc/de/clipart/StandardBoxQt4.png
-share/lyx/doc/de/clipart/UnterdokumentQt4.png
-share/lyx/doc/el/Intro.lyx
-share/lyx/doc/es/Customization.lyx
-share/lyx/doc/es/DocumentoPostizo1.lyx
-share/lyx/doc/es/DocumentoPostizo2.lyx
-share/lyx/doc/es/DocumentoTextoPostizo.txt
-share/lyx/doc/es/EmbeddedObjects.lyx
-share/lyx/doc/es/Extended.lyx
-share/lyx/doc/es/Formula-numbering.lyx
-share/lyx/doc/es/Intro.lyx
-share/lyx/doc/es/Math.lyx
-share/lyx/doc/es/Shortcuts.lyx
-share/lyx/doc/es/Tutorial.lyx
-share/lyx/doc/es/UserGuide.lyx
-share/lyx/doc/es/clipart/ComentNotaImagenQt4.png
-share/lyx/doc/es/clipart/CuadroMinipagQt4.png
-share/lyx/doc/es/clipart/DocumentoHijoQt4.png
-share/lyx/doc/es/clipart/GrisNotaImagenQt4.png
-share/lyx/doc/es/clipart/MaterialExternoQt4.png
-share/lyx/doc/es/clipart/NotaLyXImagenQt4.png
-share/lyx/doc/es/clipart/Resumen.pdf
-share/lyx/doc/es/clipart/es_ERT.png
-share/lyx/doc/es/clipart/es_ToolbarEnvBox.png
-share/lyx/doc/es/clipart/etiquetaQt4.png
-share/lyx/doc/es/clipart/flotanteQt4.png
-share/lyx/doc/es/clipart/notapieQt4.png
-share/lyx/doc/es/clipart/referenciaQt4.png
-share/lyx/doc/eu/Customization.lyx
-share/lyx/doc/eu/Extended.lyx
-share/lyx/doc/eu/Intro.lyx
-share/lyx/doc/eu/Tutorial.lyx
-share/lyx/doc/eu/UserGuide.lyx
-share/lyx/doc/fr/Customization.lyx
-share/lyx/doc/fr/DocumentBidon1.lyx
-share/lyx/doc/fr/DocumentBidon2.lyx
-share/lyx/doc/fr/DocumentTexteBidon.txt
-share/lyx/doc/fr/EmbeddedObjects.lyx
-share/lyx/doc/fr/Extended.lyx
-share/lyx/doc/fr/Formula-numbering.lyx
-share/lyx/doc/fr/Intro.lyx
-share/lyx/doc/fr/Math.lyx
-share/lyx/doc/fr/Shortcuts.lyx
-share/lyx/doc/fr/Tutorial.lyx
-share/lyx/doc/fr/UserGuide.lyx
-share/lyx/doc/fr/clipart/BoxInsetDefaultQt4.png
-share/lyx/doc/fr/clipart/ChildDocumentQt4.png
-share/lyx/doc/fr/clipart/CommentNoteImageQt4.png
-share/lyx/doc/fr/clipart/GreyedOutNoteImageQt4.png
-share/lyx/doc/fr/clipart/LyXNoteImageQt4.png
-share/lyx/doc/fr/clipart/floatQt4.png
-share/lyx/doc/fr/clipart/footnoteQt4.png
-share/lyx/doc/fr/clipart/labelQt4.png
-share/lyx/doc/gl/Intro.lyx
-share/lyx/doc/gl/Tutorial.lyx
-share/lyx/doc/he/Intro.lyx
-share/lyx/doc/he/Tutorial.lyx
-share/lyx/doc/hu/Intro.lyx
-share/lyx/doc/hu/Tutorial.lyx
-share/lyx/doc/id/Intro.lyx
-share/lyx/doc/id/Tutorial.lyx
-share/lyx/doc/id/clipart/id-contrib.png
-share/lyx/doc/id/clipart/id-footnote.png
-share/lyx/doc/id/clipart/id-lingkungan.png
-share/lyx/doc/it/Customization.lyx
-share/lyx/doc/it/Intro.lyx
-share/lyx/doc/it/Tutorial.lyx
-share/lyx/doc/it/UserGuide.lyx
-share/lyx/doc/it/clipart/it_footnoteQt4.png
-share/lyx/doc/it/clipart/it_referenceQt4.png
-share/lyx/doc/ja/Customization.lyx
-share/lyx/doc/ja/DummyDocument1.lyx
-share/lyx/doc/ja/DummyDocument2.lyx
-share/lyx/doc/ja/EmbeddedObjects.lyx
-share/lyx/doc/ja/Extended.lyx
-share/lyx/doc/ja/Formula-numbering.lyx
-share/lyx/doc/ja/Intro.lyx
-share/lyx/doc/ja/LaTeXConfig.lyx
-share/lyx/doc/ja/Math.lyx
-share/lyx/doc/ja/Shortcuts.lyx
-share/lyx/doc/ja/Tutorial.lyx
-share/lyx/doc/ja/UserGuide.lyx
-share/lyx/doc/ja/clipart/ChildDocumentQt4.png
-share/lyx/doc/ja/clipart/ERT.png
-share/lyx/doc/ja/clipart/ExternalMaterialQt4.png
-share/lyx/doc/ja/clipart/ToolbarEnvBox.png
-share/lyx/doc/ja/clipart/floatQt4.png
-share/lyx/doc/ja/clipart/footnoteQt4.png
-share/lyx/doc/ja/clipart/referenceQt4.png
-share/lyx/doc/nb/Intro.lyx
-share/lyx/doc/nl/Intro.lyx
-share/lyx/doc/nl/Tutorial.lyx
-share/lyx/doc/pl/Extended.lyx
-share/lyx/doc/pl/Intro.lyx
-share/lyx/doc/pl/Tutorial.lyx
-share/lyx/doc/pt/Intro.lyx
-share/lyx/doc/pt/Tutorial.lyx
-share/lyx/doc/ro/Intro.lyx
-share/lyx/doc/ru/Intro.lyx
-share/lyx/doc/ru/Tutorial.lyx
-share/lyx/doc/sk/Intro.lyx
-share/lyx/doc/sk/Tutorial.lyx
-share/lyx/doc/sk/UserGuide.lyx
-share/lyx/doc/sl/Intro.lyx
-share/lyx/doc/sl/Tutorial.lyx
-share/lyx/doc/sv/Intro.lyx
-share/lyx/doc/sv/Tutorial.lyx
-share/lyx/doc/uk/Intro.lyx
-share/lyx/doc/uk/clipart/FootnoteQT4.png
-share/lyx/doc/zh_CN/Intro.lyx
-share/lyx/doc/zh_CN/Tutorial.lyx
-share/lyx/encodings
-share/lyx/examples/Braille.lyx
-share/lyx/examples/CV-image.eps
-share/lyx/examples/CV-image.png
-share/lyx/examples/Foils.lyx
-share/lyx/examples/ItemizeBullets.lyx
-share/lyx/examples/Literate.lyx
-share/lyx/examples/aa_sample.lyx
-share/lyx/examples/aas_sample.lyx
-share/lyx/examples/achemso.lyx
-share/lyx/examples/addressExample.adr
-share/lyx/examples/amsart-test.lyx
-share/lyx/examples/amsbook-test.lyx
-share/lyx/examples/armenian-article.lyx
-share/lyx/examples/beamer-g4-mask.jpg
-share/lyx/examples/beamer-g4.jpg
-share/lyx/examples/beamer-icsi-logo.pdf
-share/lyx/examples/beamer-knight1-mask.png
-share/lyx/examples/beamer-knight1.png
-share/lyx/examples/beamer-knight2-mask.png
-share/lyx/examples/beamer-knight2.png
-share/lyx/examples/beamer-knight3-mask.png
-share/lyx/examples/beamer-knight3.png
-share/lyx/examples/beamer-knight4-mask.png
-share/lyx/examples/beamer-knight4.png
-share/lyx/examples/beamerlyxexample1.lyx



Home | Main Index | Thread Index | Old Index