summaryrefslogtreecommitdiff
path: root/print/teTeX3-bin
diff options
context:
space:
mode:
authortonio <tonio>2005-11-08 17:32:51 +0000
committertonio <tonio>2005-11-08 17:32:51 +0000
commiteab6e353805757408b466886cc2a67e11c8e738e (patch)
tree0cbe6e8fe96fef99f83687a0f0453b354640aa23 /print/teTeX3-bin
parent47772124a12db0af8783112cece7876a5680c87a (diff)
downloadpkgsrc-eab6e353805757408b466886cc2a67e11c8e738e.tar.gz
Create a tex.buildlink3.mk file that is used by tex-using packages.
It includes the correct buildlink3.mk file from either teTeX1 (print/teTeX1-bin), teTeX2 (print/teTeX-bin) or teTeX3 (print/teTeX3-bin). tex.buildlink3.mk will: * set PKG_TEXMFPREFIX to the base directory of the used texmf tree * set PKG_LOCALTEXMFPREFIX to the base directory of the local texmf tree (for tex packages) * set LATEX_TYPE to the latex distribution used. There are two variables that can be used to tweak the selection of the latex implementation: LATEX_DEFAULT is a user-settable variable whose value is the default latex distribution to use. LATEX_ACCEPTED is a package-settable list of latex distributions that may be used by the package.
Diffstat (limited to 'print/teTeX3-bin')
-rw-r--r--print/teTeX3-bin/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/print/teTeX3-bin/buildlink3.mk b/print/teTeX3-bin/buildlink3.mk
new file mode 100644
index 00000000000..be5040f956c
--- /dev/null
+++ b/print/teTeX3-bin/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2005/11/08 17:32:52 tonio Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+TETEX_BIN_BUILDLINK3_MK:= ${TETEX_BIN_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= teTeX-bin
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NteTeX-bin}
+BUILDLINK_PACKAGES+= teTeX-bin
+
+.if !empty(TETEX_BIN_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.teTeX-bin+= teTeX-bin>=3.0nb2
+BUILDLINK_PKGSRCDIR.teTeX-bin?= ../../print/teTeX3-bin
+.endif # TETEX_BIN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}