From d7c9eae38cdabab597676dc1e0032b714fde09a6 Mon Sep 17 00:00:00 2001 From: minskim Date: Wed, 25 Apr 2012 22:17:19 +0000 Subject: Let teTeX honor the x11 option. --- print/teTeX/Makefile | 5 +++-- print/teTeX/options.mk | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 print/teTeX/options.mk (limited to 'print') 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 -- cgit v1.2.3