summaryrefslogtreecommitdiff
path: root/math/gnumeric110
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-06-02 07:11:09 +0000
committerwiz <wiz@pkgsrc.org>2012-06-02 07:11:09 +0000
commit709b7aa44fc65e2a6d499813c33d9d06222f99cb (patch)
tree56d55dbac2e900f995aea0a47ea2ad841645faa9 /math/gnumeric110
parent190950c59f6f07d180522c086c3addd6b6ea2a22 (diff)
downloadpkgsrc-709b7aa44fc65e2a6d499813c33d9d06222f99cb.tar.gz
Add an option for psiconv support, and turn it off by default.
Fixes PR 46511 by Nouod de Brouwer (using his patch).
Diffstat (limited to 'math/gnumeric110')
-rw-r--r--math/gnumeric110/Makefile4
-rw-r--r--math/gnumeric110/options.mk12
2 files changed, 15 insertions, 1 deletions
diff --git a/math/gnumeric110/Makefile b/math/gnumeric110/Makefile
index 2ba2c85bd28..5af46e4f1e4 100644
--- a/math/gnumeric110/Makefile
+++ b/math/gnumeric110/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2012/05/15 03:45:22 reed Exp $
+# $NetBSD: Makefile,v 1.34 2012/06/02 07:11:09 wiz Exp $
DISTNAME= gnumeric-1.10.17
PKGREVISION= 4
@@ -27,6 +27,8 @@ REPLACE_PERL+= plugins/perl-func/perl_func.pl
GOFFICE_VERSION= 0.8.17
PLIST_SUBST+= GOFFICE_VERSION=${GOFFICE_VERSION}
+.include "options.mk"
+
CONFIGURE_ARGS+= --with-python
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
.include "../../lang/python/application.mk"
diff --git a/math/gnumeric110/options.mk b/math/gnumeric110/options.mk
new file mode 100644
index 00000000000..8fd9809acae
--- /dev/null
+++ b/math/gnumeric110/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2012/06/02 07:11:09 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gnumeric
+PKG_SUPPORTED_OPTIONS= psiconv
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpsiconv)
+.include "../../converters/psiconv/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-psiconv
+.endif