pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors Use the new print/teTeX/module.mk framework an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff83433dbc2b
branches:  trunk
changeset: 503340:ff83433dbc2b
user:      reed <reed%pkgsrc.org@localhost>
date:      Fri Nov 18 16:47:35 2005 +0000

description:
Use the new print/teTeX/module.mk framework and install
the tex files to ${PKG_TEXMFPREFIX}/tex/latex/lyx/.

This makes it so the latex recognizes these available classes/styles.

I noticed that previously cv (curriculum vitae) was not recognized,
but now it is available.

Bumped PKGREVISION.

diffstat:

 editors/lyx-qt/Makefile         |   4 ++--
 editors/lyx-qt/Makefile.common  |  11 +++++++++--
 editors/lyx-qt/PLIST.common     |  16 ++++++++--------
 editors/lyx-qt/distinfo         |   3 ++-
 editors/lyx-qt/patches/patch-af |  13 +++++++++++++
 editors/lyx-xforms/Makefile     |   3 ++-
 6 files changed, 36 insertions(+), 14 deletions(-)

diffs (131 lines):

diff -r 58932e2f6e7a -r ff83433dbc2b editors/lyx-qt/Makefile
--- a/editors/lyx-qt/Makefile   Fri Nov 18 15:52:27 2005 +0000
+++ b/editors/lyx-qt/Makefile   Fri Nov 18 16:47:35 2005 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.20 2005/11/16 18:06:13 reed Exp $
+# $NetBSD: Makefile,v 1.21 2005/11/18 16:47:35 reed Exp $
 #
 
 .include "./Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/lyx-/lyx-qt-/}
-PKGREVISION=   1
+PKGREVISION=   2
 
 COMMENT+=      (QT version)
 
diff -r 58932e2f6e7a -r ff83433dbc2b editors/lyx-qt/Makefile.common
--- a/editors/lyx-qt/Makefile.common    Fri Nov 18 15:52:27 2005 +0000
+++ b/editors/lyx-qt/Makefile.common    Fri Nov 18 16:47:35 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.30 2005/11/11 18:50:24 tonio Exp $
+# $NetBSD: Makefile.common,v 1.31 2005/11/18 16:47:35 reed Exp $
 #
 
 DISTNAME=              lyx-1.3.6
@@ -75,11 +75,18 @@
                        lib/scripts/pic2ascii.py \
                        lib/scripts/pic2png_eps.py
 
+# using INSTALL_DATA_DIR instead of INSTALLATION_DIRS because PREFIX is included
+post-install:
+       ${INSTALL_DATA_DIR} ${PKG_TEXMFPREFIX}/tex/latex/lyx && \
+       for i in ${WRKSRC}/lib/tex/* ; do \
+               ${INSTALL_DATA} $$i ${PKG_TEXMFPREFIX}/tex/latex/lyx/ ; \
+       done
+
 .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 "../../mk/pthread.buildlink3.mk"
 .include "../../mk/x11.buildlink3.mk"
-.include "../../mk/tex.buildlink3.mk"
diff -r 58932e2f6e7a -r ff83433dbc2b editors/lyx-qt/PLIST.common
--- a/editors/lyx-qt/PLIST.common       Fri Nov 18 15:52:27 2005 +0000
+++ b/editors/lyx-qt/PLIST.common       Fri Nov 18 16:47:35 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.6 2005/07/19 17:49:33 drochner Exp $
+@comment $NetBSD: PLIST.common,v 1.7 2005/11/18 16:47:35 reed Exp $
 ${PKGLOCALEDIR}/locale/da/LC_MESSAGES/lyx.mo
 ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/lyx.mo
 ${PKGLOCALEDIR}/locale/es/LC_MESSAGES/lyx.mo
@@ -906,12 +906,12 @@
 share/lyx/templates/revtex.lyx
 share/lyx/templates/revtex4.lyx
 share/lyx/templates/slides.lyx
-share/lyx/tex/broadway.cls
-share/lyx/tex/cv.cls
-share/lyx/tex/hollywood.cls
-share/lyx/tex/lyxchess.sty
-share/lyx/tex/lyxskak.sty
-share/lyx/tex/revtex.cls
+${PKG_TEXMFPREFIX}/tex/latex/lyx/broadway.cls
+${PKG_TEXMFPREFIX}/tex/latex/lyx/cv.cls
+${PKG_TEXMFPREFIX}/tex/latex/lyx/hollywood.cls
+${PKG_TEXMFPREFIX}/tex/latex/lyx/lyxchess.sty
+${PKG_TEXMFPREFIX}/tex/latex/lyx/lyxskak.sty
+${PKG_TEXMFPREFIX}/tex/latex/lyx/revtex.cls
 share/lyx/textclass.lst
 share/lyx/ui/default.ui
 share/lyx/xfonts/PSres.upr
@@ -927,7 +927,7 @@
 share/lyx/xfonts/wasy10.pfb
 @dirrm share/lyx/xfonts
 @dirrm share/lyx/ui
-@dirrm share/lyx/tex
+@dirrm ${PKG_TEXMFPREFIX}/tex/latex/lyx
 @dirrm share/lyx/templates
 @dirrm share/lyx/scripts
 @dirrm share/lyx/reLyX/Text
diff -r 58932e2f6e7a -r ff83433dbc2b editors/lyx-qt/distinfo
--- a/editors/lyx-qt/distinfo   Fri Nov 18 15:52:27 2005 +0000
+++ b/editors/lyx-qt/distinfo   Fri Nov 18 16:47:35 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/11/18 06:23:09 reed Exp $
+$NetBSD: distinfo,v 1.12 2005/11/18 16:47:35 reed Exp $
 
 SHA1 (lyx-1.3.6.tar.gz) = 9a0045bf007e4ebc4ca024536e03b3d95acb5ace
 RMD160 (lyx-1.3.6.tar.gz) = c05c106fdf4159fbde70747eced9b3685121ac5f
@@ -8,6 +8,7 @@
 SHA1 (patch-ac) = 12a986d76f16bb2a12a723337cc37d3cd268a68b
 SHA1 (patch-ad) = c8d30b0929d38f1723f92b64af2f81f8cb97a6f4
 SHA1 (patch-ae) = fa71cf0fdc5a98a13285858b54f890cef1078a81
+SHA1 (patch-af) = 033fbf114994b4c9dcbf91c50f5972ba8260d1a8
 SHA1 (patch-ah) = 278f5deaf94c1082b755af3cb9511bc2f68231ba
 SHA1 (patch-ai) = ddd905f335293fa510745c5fe4f8011a5b3a1d9e
 SHA1 (patch-aj) = bfbd7b6f0a512a5034009c221b4851309ca6fb56
diff -r 58932e2f6e7a -r ff83433dbc2b editors/lyx-qt/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/lyx-qt/patches/patch-af   Fri Nov 18 16:47:35 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.3 2005/11/18 16:47:35 reed Exp $
+
+--- lib/Makefile.in.orig       2005-11-17 12:27:24.000000000 -0800
++++ lib/Makefile.in    2005-11-17 12:27:58.000000000 -0800
+@@ -211,7 +211,7 @@
+ UI = ui/*.ui
+ 
+ LIBINSTFILES = $(BIND) $(CLIPART) $(DOCINST) $(EXAMPLES) $(HELP) $(IMAGES) \
+-      $(KBD) $(LAYOUT) $(TEMPL) $(TEXSUPPORT) $(UI)
++      $(KBD) $(LAYOUT) $(TEMPL) $(UI)
+ 
+ 
+ LIBDISTFILES = $(BIND) $(CLIPART) $(DOCDIST) $(EXAMPLES) $(HELP) $(IMAGES) \
diff -r 58932e2f6e7a -r ff83433dbc2b editors/lyx-xforms/Makefile
--- a/editors/lyx-xforms/Makefile       Fri Nov 18 15:52:27 2005 +0000
+++ b/editors/lyx-xforms/Makefile       Fri Nov 18 16:47:35 2005 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.15 2005/07/19 17:49:33 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2005/11/18 16:47:35 reed Exp $
 #
 
 .include "../lyx-qt/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/lyx-/lyx-xforms-/}
+PKGREVISION=   1
 
 COMMENT+=      (xforms version)
 



Home | Main Index | Thread Index | Old Index