pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/gnumeric Add an option for psiconv support, and t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e290551a27e3
branches:  trunk
changeset: 604652:e290551a27e3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jun 02 07:10:53 2012 +0000

description:
Add an option for psiconv support, and turn it off by default.
Fixes PR 46511 by Nouod de Brouwer.

Set LICENSE while here.

diffstat:

 math/gnumeric/Makefile   |   5 ++++-
 math/gnumeric/options.mk |  12 ++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r 0cf157f66c0b -r e290551a27e3 math/gnumeric/Makefile
--- a/math/gnumeric/Makefile    Sat Jun 02 07:08:45 2012 +0000
+++ b/math/gnumeric/Makefile    Sat Jun 02 07:10:53 2012 +0000
@@ -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 @@
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 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 @@
 
 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 -r 0cf157f66c0b -r e290551a27e3 math/gnumeric/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/gnumeric/options.mk  Sat Jun 02 07:10:53 2012 +0000
@@ -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



Home | Main Index | Thread Index | Old Index