diff options
-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 |