summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortonio <tonio>2006-01-22 16:45:30 +0000
committertonio <tonio>2006-01-22 16:45:30 +0000
commit51e9da8e736a2c8beaa9ccd49a581ad108fe3005 (patch)
treea02a9d7485884d4aa28ed338fb546609110f1e21
parent192da8b98b7b1874dbdc6f166cc80794ab33eb3e (diff)
downloadpkgsrc-51e9da8e736a2c8beaa9ccd49a581ad108fe3005.tar.gz
move the PLIST SUBST from tex.buildlink3.mk to tetex?-bin/buildlink3.mk
This should fix bulk build for teTeX1 packages
-rw-r--r--mk/tex.buildlink3.mk10
-rw-r--r--print/teTeX-bin/buildlink3.mk10
-rw-r--r--print/teTeX1-bin/buildlink3.mk10
-rw-r--r--print/teTeX3-bin/buildlink3.mk10
4 files changed, 28 insertions, 12 deletions
diff --git a/mk/tex.buildlink3.mk b/mk/tex.buildlink3.mk
index 5087cf19271..68ef45d02f2 100644
--- a/mk/tex.buildlink3.mk
+++ b/mk/tex.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tex.buildlink3.mk,v 1.9 2006/01/08 14:00:11 tonio Exp $
+# $NetBSD: tex.buildlink3.mk,v 1.10 2006/01/22 16:45:30 tonio Exp $
#
# A Makefile fragment for TeX and LaTeX packages
#
@@ -132,14 +132,6 @@ BUILD_DEPENDS+= ${_TEX_DEPENDENCY}:${_TEX_PKGSRCDIR}
.else
TEX_DEPMETHOD:= run
. include "${_TEX_PKGSRCDIR}/buildlink3.mk"
-PLIST_SUBST+= PKG_TEXMFPREFIX=${PKG_TEXMFPREFIX:C|^${PREFIX}/||}
-PLIST_SUBST+= PKG_LOCALTEXMFPREFIX=${PKG_LOCALTEXMFPREFIX:C|^${PREFIX}/||}
-
-PRINT_PLIST_AWK+= /^@dirrm ${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}(\/bibtex(\/bib|\/bst)?|\/tex(\/latex)?)?$$/ \
- { next; }
-PRINT_PLIST_AWK+= /^(@dirrm )?${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/ \
- { gsub(/${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/, "$${PKG_LOCALTEXMFPREFIX}"); \
- print; next; }
.endif
.endif
diff --git a/print/teTeX-bin/buildlink3.mk b/print/teTeX-bin/buildlink3.mk
index 9d4fbdfcfd8..5e9eefa1937 100644
--- a/print/teTeX-bin/buildlink3.mk
+++ b/print/teTeX-bin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/01/08 14:00:12 tonio Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/01/22 16:45:30 tonio Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TETEX_BIN_BUILDLINK3_MK:= ${TETEX_BIN_BUILDLINK3_MK}+
@@ -19,5 +19,13 @@ TEX=tex
PDFTEX=pdftex
PKG_TEXMFPREFIX= ${PREFIX}/share/texmf
PKG_LOCALTEXMFPREFIX= ${PREFIX}/share/texmf
+PLIST_SUBST+= PKG_TEXMFPREFIX=${PKG_TEXMFPREFIX:C|^${PREFIX}/||}
+PLIST_SUBST+= PKG_LOCALTEXMFPREFIX=${PKG_LOCALTEXMFPREFIX:C|^${PREFIX}/||}
+
+PRINT_PLIST_AWK+= /^@dirrm ${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}(\/bibtex(\/bib|\/bst)?|\/tex(\/latex)?)?$$/ \
+ { next; }
+PRINT_PLIST_AWK+= /^(@dirrm )?${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/ \
+ { gsub(/${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/, "$${PKG_LOCALTEXMFPREFIX}"); \
+ print; next; }
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/print/teTeX1-bin/buildlink3.mk b/print/teTeX1-bin/buildlink3.mk
index d4ea0e0bf01..3f2ab55514c 100644
--- a/print/teTeX1-bin/buildlink3.mk
+++ b/print/teTeX1-bin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/01/08 14:00:12 tonio Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/01/22 16:45:30 tonio Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TETEX_BIN_BUILDLINK3_MK:= ${TETEX_BIN_BUILDLINK3_MK}+
@@ -18,5 +18,13 @@ BUILDLINK_PKGSRCDIR.teTeX-bin?= ../../print/teTeX1-bin
PKG_TEXMFPREFIX= ${PREFIX}/share/texmf
PKG_LOCALTEXMFPREFIX= ${PREFIX}/share/texmf
+PLIST_SUBST+= PKG_TEXMFPREFIX=${PKG_TEXMFPREFIX:C|^${PREFIX}/||}
+PLIST_SUBST+= PKG_LOCALTEXMFPREFIX=${PKG_LOCALTEXMFPREFIX:C|^${PREFIX}/||}
+
+PRINT_PLIST_AWK+= /^@dirrm ${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}(\/bibtex(\/bib|\/bst)?|\/tex(\/latex)?)?$$/ \
+ { next; }
+PRINT_PLIST_AWK+= /^(@dirrm )?${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/ \
+ { gsub(/${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/, "$${PKG_LOCALTEXMFPREFIX}"); \
+ print; next; }
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/print/teTeX3-bin/buildlink3.mk b/print/teTeX3-bin/buildlink3.mk
index 2e4c6f9e7c2..822d7305308 100644
--- a/print/teTeX3-bin/buildlink3.mk
+++ b/print/teTeX3-bin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/01/08 14:00:12 tonio Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/01/22 16:45:30 tonio Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TETEX_BIN_BUILDLINK3_MK:= ${TETEX_BIN_BUILDLINK3_MK}+
@@ -21,5 +21,13 @@ PDFTEX=pdfetex
PKG_TEXMFPREFIX= ${PREFIX}/share/texmf
#PKG_LOCALTEXMFPREFIX= ${PREFIX}/share/texmf-local
PKG_LOCALTEXMFPREFIX= ${PREFIX}/share/texmf
+PLIST_SUBST+= PKG_TEXMFPREFIX=${PKG_TEXMFPREFIX:C|^${PREFIX}/||}
+PLIST_SUBST+= PKG_LOCALTEXMFPREFIX=${PKG_LOCALTEXMFPREFIX:C|^${PREFIX}/||}
+
+PRINT_PLIST_AWK+= /^@dirrm ${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}(\/bibtex(\/bib|\/bst)?|\/tex(\/latex)?)?$$/ \
+ { next; }
+PRINT_PLIST_AWK+= /^(@dirrm )?${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/ \
+ { gsub(/${PKG_LOCALTEXMFPREFIX:S|${PREFIX}/||:S|/|\\/|g}/, "$${PKG_LOCALTEXMFPREFIX}"); \
+ print; next; }
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}