summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2012-04-25 22:17:19 +0000
committerminskim <minskim@pkgsrc.org>2012-04-25 22:17:19 +0000
commitd7c9eae38cdabab597676dc1e0032b714fde09a6 (patch)
tree4a9c153d226f5731a413353f90e2e9120345734f /print
parenteac1042d7e34bb84f96169f15a5a5d3808492e7a (diff)
downloadpkgsrc-d7c9eae38cdabab597676dc1e0032b714fde09a6.tar.gz
Let teTeX honor the x11 option.
Diffstat (limited to 'print')
-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