summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2011-10-20 01:25:02 +0000
committerminskim <minskim@pkgsrc.org>2011-10-20 01:25:02 +0000
commitbda2564fa90815d1b0b4e0050cf5da89f417140e (patch)
treed88bf83cfe1eb2fadb4649a6660f927950d1dfea
parente21bdd9b1815b0c12c98ebf1279e951522c2dc3c (diff)
downloadpkgsrc-bda2564fa90815d1b0b4e0050cf5da89f417140e.tar.gz
teTeX/module.mk is no longer needed.
-rw-r--r--doc/TODO9
-rw-r--r--print/teTeX/files/texmf.tmpl25
-rw-r--r--print/teTeX/module.mk41
3 files changed, 4 insertions, 71 deletions
diff --git a/doc/TODO b/doc/TODO
index f7ed2c9ed0f..6c15bf36050 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.10615 2011/10/18 22:33:20 taca Exp $
+$NetBSD: TODO,v 1.10616 2011/10/20 01:25:02 minskim Exp $
Suggested new packages
======================
@@ -1639,8 +1639,7 @@ Suggested cleanups in pkgsrc
example, x11/kbproto/builtin.mk and x11/libXrender/builtin.mk
almost look the same.
- o Replace inclusions of print/teTeX/module.mk and
- mk/tex.buildlink3.mk (pulling in a lot of tex packages)
- with (build) dependencies on the appropriate split tex
- packages. In case styles are used, look for
+ o Replace inclusion mk/tex.buildlink3.mk (pulling in a lot of
+ tex packages) with (build) dependencies on the appropriate
+ split tex packages. In case styles are used, look for
\RequirePackage{...}.
diff --git a/print/teTeX/files/texmf.tmpl b/print/teTeX/files/texmf.tmpl
deleted file mode 100644
index 310c0bdd149..00000000000
--- a/print/teTeX/files/texmf.tmpl
+++ /dev/null
@@ -1,25 +0,0 @@
-# $NetBSD: texmf.tmpl,v 1.5 2006/10/10 12:41:28 dmcmahill Exp $
-#
-# Rebuild the ls-R database.
-#
-
-case ${STAGE} in
-POST-INSTALL)
- @MKTEXLSR@ @TEXMFDIRS@
- tex_fontmaps="@TEX_FONTMAPS@"
- for map in $tex_fontmaps ; do
- @UPDMAP_SYS@ --enable Map=${map}
- done
- ;;
-DEINSTALL)
- tex_fontmaps="@TEX_FONTMAPS@"
- for map in $tex_fontmaps ; do
- @UPDMAP_SYS@ --disable ${map}
- done
- ;;
-POST-DEINSTALL)
- @MKTEXLSR@ @TEXMFDIRS@
- ;;
-*)
- ;;
-esac
diff --git a/print/teTeX/module.mk b/print/teTeX/module.mk
deleted file mode 100644
index ffdc46bcad9..00000000000
--- a/print/teTeX/module.mk
+++ /dev/null
@@ -1,41 +0,0 @@
-# $NetBSD: module.mk,v 1.19 2009/06/14 22:58:08 joerg Exp $
-#
-# This Makefile fragment is intended to be included by packages that
-# install TeX packages. It takes care of rebuilding the ls-R database
-# at (de)installation time.
-#
-# The following variables can be defined:
-#
-# TEXMFDIRS - A list of TEXMF directories that need to update ls-R.
-# Default: ${PKG_LOCALTEXMFPREFIX}
-#
-# TEX_FONTMAPS - A list of font map files
-#
-
-.if !defined(TEX_PACKAGE_MK)
-TEX_PACKAGE_MK= # defined
-
-TEXMFDIRS?= ${PKG_LOCALTEXMFPREFIX}
-TEX_FONTMAPS?= # empty
-
-.if !empty(TEX_FONTMAPS)
-BUILDLINK_API_DEPENDS.teTeX-bin+= teTeX-bin>=3.0nb4
-.endif
-
-FILES_SUBST+= MKTEXLSR="${LOCALBASE}/bin/mktexlsr"
-FILES_SUBST+= TEXMFDIRS=${TEXMFDIRS:Q}
-FILES_SUBST+= UPDMAP_SYS="${LOCALBASE}/bin/updmap-sys"
-FILES_SUBST+= TEX_FONTMAPS=${TEX_FONTMAPS:Q}
-INSTALL_TEMPLATES+= ../../print/teTeX/files/texmf.tmpl
-DEINSTALL_TEMPLATES+= ../../print/teTeX/files/texmf.tmpl
-
-PRINT_PLIST_AWK+= /^${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}(\/ls-R)?$$/ \
- { next; }
-PRINT_PLIST_AWK+= /^${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/ \
- { gsub(/${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/, "$${PKG_LOCALTEXMFPREFIX}"); }
-PRINT_PLIST_AWK+= /^${TEXMFDIST:S|${PREFIX}/||:S|/|\\/|g}/ \
- { gsub(/${TEXMFDIST:S|${PREFIX}/||:S|/|\\/|g}/, "$${TEXMFDIST}"); }
-
-.include "../../mk/tex.buildlink3.mk"
-
-.endif # TEX_PACKAGE_MK