diff options
author | hrs <hrs@FreeBSD.org> | 2013-05-10 02:32:41 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-05-10 02:32:41 +0800 |
commit | 45157fcf35ce2b72667e9422dcfdfe03dcb04edc (patch) | |
tree | e8504d7cbb23c7dae74783e1c0ff1ee87dfcac10 /Mk | |
parent | 2c02f828190c4622dd0177ac4455c88530c32ce6 (diff) | |
download | freebsd-ports-gnome-45157fcf35ce2b72667e9422dcfdfe03dcb04edc.tar.gz freebsd-ports-gnome-45157fcf35ce2b72667e9422dcfdfe03dcb04edc.tar.zst freebsd-ports-gnome-45157fcf35ce2b72667e9422dcfdfe03dcb04edc.zip |
Allow USE_TEX=yes.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.tex.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Mk/bsd.tex.mk b/Mk/bsd.tex.mk index 71527316f6b1..351012e8631d 100644 --- a/Mk/bsd.tex.mk +++ b/Mk/bsd.tex.mk @@ -5,6 +5,11 @@ TEX_MAINTAINER= hrs@FreeBSD.org # +# For ports which depend on TeX: +# USE_TEX= yes +# Note that teTeX or TeXLive is used based on $TEX_DEFAULT, and full version +# of the packages will be installed as the dependency. +# # For full teTeX dependency: # USE_TEX= tetex # @@ -49,6 +54,10 @@ TEX_DEFAULT?= tetex # normalize TEX_DEFAULT:= ${TEX_DEFAULT:L} +.if defined(USE_TEX) && !empty(USE_TEX:M[Yy][Ee][Ss]) +USE_TEX:= ${TEX_DEFAULT} +.endif + TEXMFDIR?= share/texmf TEXMFDISTDIR?= share/texmf-dist TEXMFLOCALDIR?= share/texmf-local |