summaryrefslogtreecommitdiff
path: root/print/teTeX
diff options
context:
space:
mode:
authorminskim <minskim>2012-04-25 22:17:19 +0000
committerminskim <minskim>2012-04-25 22:17:19 +0000
commit6dd2b341d4e8232ece7e509075bc4019e1eb33d6 (patch)
tree4a9c153d226f5731a413353f90e2e9120345734f /print/teTeX
parente211523a2d690cbf36d9df5e2be359a6056d47eb (diff)
downloadpkgsrc-6dd2b341d4e8232ece7e509075bc4019e1eb33d6.tar.gz
Let teTeX honor the x11 option.
Diffstat (limited to 'print/teTeX')
-rw-r--r--print/teTeX/Makefile5
-rw-r--r--print/teTeX/options.mk11
2 files changed, 14 insertions, 2 deletions
diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile
index fe49f86a82f..7a462b9eccc 100644
--- a/print/teTeX/Makefile
+++ b/print/teTeX/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2012/02/09 21:44:15 minskim Exp $
+# $NetBSD: Makefile,v 1.60 2012/04/25 22:17:19 minskim Exp $
DISTNAME= teTeX-3.0
PKGREVISION= 11
@@ -21,8 +21,9 @@ DEPENDS+= tex-a2ping-[0-9]*:../../graphics/tex-a2ping
DEPENDS+= tex-texdoc-[0-9]*:../../print/tex-texdoc
DEPENDS+= tex-pdftools-[0-9]*:../../print/tex-pdftools
DEPENDS+= texi2html>=1.52:../../textproc/texi2html
-DEPENDS+= xdvik-[0-9]*:../../print/xdvik
META_PACKAGE= yes
+.include "options.mk"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/print/teTeX/options.mk b/print/teTeX/options.mk
new file mode 100644
index 00000000000..e11b4f87b40
--- /dev/null
+++ b/print/teTeX/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2012/04/25 22:17:19 minskim Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.teTeX
+PKG_SUPPORTED_OPTIONS+= x11
+PKG_SUGGESTED_OPTIONS+= x11
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mx11)
+DEPENDS+= xdvik-[0-9]*:../../print/xdvik
+.endif