diff options
author | tonio <tonio@pkgsrc.org> | 2006-01-22 16:45:30 +0000 |
---|---|---|
committer | tonio <tonio@pkgsrc.org> | 2006-01-22 16:45:30 +0000 |
commit | c746fe9467b2f0712001c9746ff3a97e25a8aba3 (patch) | |
tree | a02a9d7485884d4aa28ed338fb546609110f1e21 /print/teTeX-bin/buildlink3.mk | |
parent | bba43d4b6d48bda4f35a4918288a8bed20c7f052 (diff) | |
download | pkgsrc-c746fe9467b2f0712001c9746ff3a97e25a8aba3.tar.gz |
move the PLIST SUBST from tex.buildlink3.mk to tetex?-bin/buildlink3.mk
This should fix bulk build for teTeX1 packages
Diffstat (limited to 'print/teTeX-bin/buildlink3.mk')
-rw-r--r-- | print/teTeX-bin/buildlink3.mk | 10 |
1 files changed, 9 insertions, 1 deletions
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/+$//} |