pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/teTeX Let teTeX honor the x11 option.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bce160a698ec
branches: trunk
changeset: 603002:bce160a698ec
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Apr 25 22:17:19 2012 +0000
description:
Let teTeX honor the x11 option.
diffstat:
print/teTeX/Makefile | 5 +++--
print/teTeX/options.mk | 11 +++++++++++
2 files changed, 14 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 86792bc37804 -r bce160a698ec print/teTeX/Makefile
--- a/print/teTeX/Makefile Wed Apr 25 20:22:14 2012 +0000
+++ b/print/teTeX/Makefile Wed Apr 25 22:17:19 2012 +0000
@@ -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-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 -r 86792bc37804 -r bce160a698ec print/teTeX/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/teTeX/options.mk Wed Apr 25 22:17:19 2012 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index