summaryrefslogtreecommitdiff
path: root/math/gnumeric
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-06-02 07:10:53 +0000
committerwiz <wiz@pkgsrc.org>2012-06-02 07:10:53 +0000
commitfb06b9e127158ad95558fa2a3df61fc87aea4a9e (patch)
treef20fee99b2abb8a26558e4fbf8ce6218ec541eea /math/gnumeric
parent51c9f88d5bffd54991dbf4cdc38538908115e235 (diff)
downloadpkgsrc-fb06b9e127158ad95558fa2a3df61fc87aea4a9e.tar.gz
Add an option for psiconv support, and turn it off by default.
Fixes PR 46511 by Nouod de Brouwer. Set LICENSE while here.
Diffstat (limited to 'math/gnumeric')
-rw-r--r--math/gnumeric/Makefile5
-rw-r--r--math/gnumeric/options.mk12
2 files changed, 16 insertions, 1 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile
index 21d3e7e299a..66bf7bdf90d 100644
--- a/math/gnumeric/Makefile
+++ b/math/gnumeric/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.155 2012/03/09 12:34:18 wiz Exp $
+# $NetBSD: Makefile,v 1.156 2012/06/02 07:10:53 wiz Exp $
#
DISTNAME= gnumeric-1.8.4
@@ -10,6 +10,7 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/projects/gnumeric/
COMMENT= Spreadsheet program from the GNOME project (development version)
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
@@ -23,6 +24,8 @@ PKGCONFIG_OVERRIDE= libspreadsheet.pc.in
REPLACE_PERL+= plugins/perl-func/perl_func.pl
+.include "options.mk"
+
CONFIGURE_ARGS+= --with-python
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
.include "../../lang/python/application.mk"
diff --git a/math/gnumeric/options.mk b/math/gnumeric/options.mk
new file mode 100644
index 00000000000..732bae26f24
--- /dev/null
+++ b/math/gnumeric/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2012/06/02 07:10:53 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