pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/tex-xmltex Install many more files in this pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85c5244eced6
branches:  trunk
changeset: 543708:85c5244eced6
user:      reed <reed%pkgsrc.org@localhost>
date:      Sun Jun 22 02:55:53 2008 +0000

description:
Install many more files in this package and make symlinks.
I noticed some needs when I was missing pdfxmltex executable and
missing xmltex.cfg.
(Also inspired by Gentoo and FreeBSD ports for xmltex.)

Bump PKGREVISION.

Okayed by minskim.

diffstat:

 textproc/tex-xmltex/Makefile |  19 +++++++++++++++++--
 textproc/tex-xmltex/PLIST    |  33 +++++++++++++++++++++++++++++++--
 2 files changed, 48 insertions(+), 4 deletions(-)

diffs (84 lines):

diff -r 8c65b6205926 -r 85c5244eced6 textproc/tex-xmltex/Makefile
--- a/textproc/tex-xmltex/Makefile      Sun Jun 22 02:38:27 2008 +0000
+++ b/textproc/tex-xmltex/Makefile      Sun Jun 22 02:55:53 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2006/08/10 03:21:40 minskim Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/22 02:55:53 reed Exp $
 
 DISTNAME=      base
 PKGNAME=       tex-xmltex-1.9
-PKGREVISION=   3
+PKGREVISION=   4
 WRKSRC=                ${WRKDIR}/base
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=macros/xmltex/}
@@ -13,10 +13,19 @@
 COMMENT=       Non-validating XML parser implemented in TeX
 
 DIST_SUBDIR=   ${PKGNAME_NOREV}
+INSTALLATION_DIRS=      ${PKG_LOCALTEXMFPREFIX}/tex/xmltex
 NO_CONFIGURE=  yes
 USE_DIRS+=     texmf-1.0
 TEX_ACCEPTED=  teTeX3
 
+CLASS_FILES=   englishutf16.xml langtest.xmt tei.xmt   \
+               windows-1250.xmt englishutf8.xml mathml2.xmt testascii.cfg \
+               xmltex.cfg iso-8859-1.xmt pdfxmltex.ini testascii.tex \
+               xmltex.ini iso-8859-2.xmt portugeselatin1.xml testascii.xml \
+               xmltex.tex koi8-r.xmt russiankoi8.xml testsec.tex \
+               langtest.tex russianutf8.xml testsec.xml langtest.xml \
+               sec.xmt utf-16.xmt
+
 .include "../../print/teTeX/module.mk"
 
 do-build:
@@ -27,5 +36,11 @@
 do-install:
        @cd ${WRKSRC}; \
        ${INSTALL_DATA} xmltex.fmt pdfxmltex.fmt ${PKG_LOCALTEXMFPREFIX}/web2c;
+.for f in ${CLASS_FILES}
+       ${INSTALL_DATA} ${WRKSRC}/${f} ${PKG_LOCALTEXMFPREFIX}/tex/xmltex/
+.endfor
+       ${RM} -f ${PREFIX}/bin/xmltex ${PREFIX}/bin/pdfxmltex
+       ${LN} -s ${TEX} ${PREFIX}/bin/xmltex
+       ${LN} -s ${PDFTEX} ${PREFIX}/bin/pdfxmltex
 
 .include "../../mk/bsd.pkg.mk"
diff -r 8c65b6205926 -r 85c5244eced6 textproc/tex-xmltex/PLIST
--- a/textproc/tex-xmltex/PLIST Sun Jun 22 02:38:27 2008 +0000
+++ b/textproc/tex-xmltex/PLIST Sun Jun 22 02:55:53 2008 +0000
@@ -1,3 +1,32 @@
-@comment $NetBSD: PLIST,v 1.2 2005/11/13 06:32:40 minskim Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/06/22 02:55:53 reed Exp $
+bin/pdfxmltex
+bin/xmltex
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/englishutf16.xml
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/englishutf8.xml
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/iso-8859-1.xmt
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/iso-8859-2.xmt
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/koi8-r.xmt
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/langtest.tex
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/langtest.xml
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/langtest.xmt
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/mathml2.xmt
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/pdfxmltex.ini
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/portugeselatin1.xml
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/russiankoi8.xml
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/russianutf8.xml
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/sec.xmt
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/tei.xmt
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/testascii.cfg
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/testascii.tex
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/testascii.xml
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/testsec.tex
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/testsec.xml
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/utf-16.xmt
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/windows-1250.xmt
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/xmltex.cfg
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/xmltex.ini
+${PKG_LOCALTEXMFPREFIX}/tex/xmltex/xmltex.tex
+${PKG_LOCALTEXMFPREFIX}/web2c/pdfxmltex.fmt
 ${PKG_LOCALTEXMFPREFIX}/web2c/xmltex.fmt
-${PKG_LOCALTEXMFPREFIX}/web2c/pdfxmltex.fmt
+@comment In texmf-dirs: @dirrm ${PKG_LOCALTEXMFPREFIX}/web2c
+@dirrm ${PKG_LOCALTEXMFPREFIX}/tex/xmltex



Home | Main Index | Thread Index | Old Index