pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/texmf-dirs Import texmf-dirs, which installs a T...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d92c7ec8cc5
branches:  trunk
changeset: 510936:6d92c7ec8cc5
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Apr 06 23:07:01 2006 +0000

description:
Import texmf-dirs, which installs a TeX directory structure in
texmf-local to be shared by pkgsrc TeX packages.

diffstat:

 print/texmf-dirs/DESCR    |   1 +
 print/texmf-dirs/Makefile |  36 +++++++++++++++++++++++++++++
 print/texmf-dirs/PLIST    |   1 +
 print/texmf-dirs/dirs.mk  |  57 +++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 95 insertions(+), 0 deletions(-)

diffs (111 lines):

diff -r c78a3ae9acca -r 6d92c7ec8cc5 print/texmf-dirs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texmf-dirs/DESCR    Thu Apr 06 23:07:01 2006 +0000
@@ -0,0 +1,1 @@
+texmf-dirs installs a TeX directory structure for pkgsrc TeX packages.
diff -r c78a3ae9acca -r 6d92c7ec8cc5 print/texmf-dirs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texmf-dirs/Makefile Thu Apr 06 23:07:01 2006 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/06 23:07:01 minskim Exp $
+
+DISTNAME=      texmf-dirs-1.0
+CATEGORIES=    print
+MASTER_SITES=  # empty
+DISTFILES=     # empty
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      # empty
+COMMENT=       Local TeX directory structure
+
+NO_BUILD=      yes
+NO_CONFIGURE=  yes
+NO_CHECKSUM=   yes
+NO_EXTRACT=    yes
+USE_LANGUAGES= # empty
+WRKSRC=                ${WRKDIR}
+
+.include "dirs.mk"
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../mk/tex.buildlink3.mk"
+.if ${TEX_TYPE} == "teTeX1"
+REQD_DIRS=     # empty
+.else
+REQD_DIRS+=    ${TEXMF_DIRS:O:S/^/${PREFIX}\/share\/texmf-local\//}
+.  if ${TEX_TYPE} == "teTeX2"
+BUILDLINK_API_DEPENDS.teTeX-bin+=      teTeX-bin>=2.0.2nb7 teTeX-bin<3.0
+.  elif ${TEX_TYPE} == "teTeX3"
+BUILDLINK_API_DEPENDS.teTeX-bin+=      teTeX-bin>=3.0nb10
+.  endif
+.endif
+
+do-install:    # nothing
+
+.include "../../mk/bsd.pkg.mk"
diff -r c78a3ae9acca -r 6d92c7ec8cc5 print/texmf-dirs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texmf-dirs/PLIST    Thu Apr 06 23:07:01 2006 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/06 23:07:01 minskim Exp $
diff -r c78a3ae9acca -r 6d92c7ec8cc5 print/texmf-dirs/dirs.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texmf-dirs/dirs.mk  Thu Apr 06 23:07:01 2006 +0000
@@ -0,0 +1,57 @@
+# $NetBSD: dirs.mk,v 1.1.1.1 2006/04/06 23:07:01 minskim Exp $
+#
+# This file is intended to be included by mk/dirs.mk, not directly by packages.
+#
+
+.if !defined(DIRS_TEXMF_MK)
+DIRS_TEXMF_MK=         # defined
+
+TEXMF_DIRS=    bibtex
+TEXMF_DIRS+=   bibtex/bib
+TEXMF_DIRS+=   bibtex/bst
+TEXMF_DIRS+=   doc
+TEXMF_DIRS+=   doc/fonts
+TEXMF_DIRS+=   doc/latex
+TEXMF_DIRS+=   dvipdfm
+TEXMF_DIRS+=   fonts
+TEXMF_DIRS+=   fonts/afm
+TEXMF_DIRS+=   fonts/enc
+TEXMF_DIRS+=   fonts/enc/pdftex
+TEXMF_DIRS+=   fonts/map
+TEXMF_DIRS+=   fonts/map/dvipdfm
+TEXMF_DIRS+=   fonts/map/pdftex
+TEXMF_DIRS+=   fonts/ofm
+TEXMF_DIRS+=   fonts/ovf
+TEXMF_DIRS+=   fonts/ovp
+TEXMF_DIRS+=   fonts/source
+TEXMF_DIRS+=   fonts/tfm
+TEXMF_DIRS+=   fonts/truetype
+TEXMF_DIRS+=   fonts/type1
+TEXMF_DIRS+=   fonts/type1/public
+TEXMF_DIRS+=   fonts/vf
+TEXMF_DIRS+=   makeindex
+TEXMF_DIRS+=   omega
+TEXMF_DIRS+=   omega/ocp
+TEXMF_DIRS+=   omega/otp
+TEXMF_DIRS+=   tex
+TEXMF_DIRS+=   tex/lambda
+TEXMF_DIRS+=   tex/latex
+TEXMF_DIRS+=   tex/web2c
+
+.if defined(_USE_TEXMF_DIRS) && !empty(_USE_TEXMF_DIRS)
+DEPENDS+=      texmf-dirs>=${_USE_TEXMF_DIRS}:../../print/texmf-dirs
+
+# Should be removed once all TeX packages are converted to use texmf-dirs
+# and PKG_LOCALTEXMFPREFIX is defined correctly in teTeX[23]-bin/buildlink3.mk.
+.if !empty(TEX_TYPE:MteTeX[23])
+PKG_LOCALTEXMFPREFIX=  ${PREFIX}/share/texmf-local
+.endif
+
+.  for dir in ${TEXMF_DIRS}
+PRINT_PLIST_AWK+=      /^@exec \$${MKDIR} %D\/${dir:S|/|\\/|g}$$/ { next; }
+PRINT_PLIST_AWK+=      /^@dirrm ${dir:S|/|\\/|g}$$/ \
+                               { print "@comment In texmf-dirs: " $$0; next; }
+.  endfor
+.endif
+
+.endif                 # !defined(DIRS_TEXMF_MK)



Home | Main Index | Thread Index | Old Index