svn commit: r317744 - head/Mk

Hiroki Sato hrs at FreeBSD.org
Thu May 9 18:32:41 UTC 2013


Author: hrs
Date: Thu May  9 18:32:41 2013
New Revision: 317744
URL: http://svnweb.freebsd.org/changeset/ports/317744

Log:
  Allow USE_TEX=yes.

Modified:
  head/Mk/bsd.tex.mk

Modified: head/Mk/bsd.tex.mk
==============================================================================
--- head/Mk/bsd.tex.mk	Thu May  9 18:26:51 2013	(r317743)
+++ head/Mk/bsd.tex.mk	Thu May  9 18:32:41 2013	(r317744)
@@ -5,6 +5,11 @@
 TEX_MAINTAINER=	hrs at 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


More information about the svn-ports-head mailing list