diff options
author | wiz <wiz> | 2012-06-02 07:10:53 +0000 |
---|---|---|
committer | wiz <wiz> | 2012-06-02 07:10:53 +0000 |
commit | 012f8852bfec2f725977d8b50d71fb8b3df4f472 (patch) | |
tree | f20fee99b2abb8a26558e4fbf8ce6218ec541eea /math/gnumeric | |
parent | 00fbdc102463bb1e9f11445d9d59637f1218b5e6 (diff) | |
download | pkgsrc-012f8852bfec2f725977d8b50d71fb8b3df4f472.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/Makefile | 5 | ||||
-rw-r--r-- | math/gnumeric/options.mk | 12 |
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 |