pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/xv xv: add a missed options.mk file in the pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32b2f473bfe7
branches:  trunk
changeset: 319792:32b2f473bfe7
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Thu Feb 21 06:00:22 2019 +0000

description:
xv: add a missed options.mk file in the previous commit.

> xv: make ghostscript support optional and disable it by default.

diffstat:

 graphics/xv/options.mk |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 481a05b3f59e -r 32b2f473bfe7 graphics/xv/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/xv/options.mk    Thu Feb 21 06:00:22 2019 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2019/02/21 06:00:22 tsutsui Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.xv
+PKG_SUPPORTED_OPTIONS= ghostscript
+PKG_SUGGESTED_OPTIONS= 
+
+.include "../../mk/bsd.options.mk"
+
+# Postscript support using installed ghostscript commands
+.if !empty(PKG_OPTIONS:Mghostscript)
+USE_TOOLS+=    gs:run
+IMAKEOPTS+=    -DUseInstalledGhostScript
+.else
+IMAKEOPTS+=    -UUseInstalledGhostScript
+.endif



Home | Main Index | Thread Index | Old Index