Add an option for psiconv support, and turn it off by default.
Fixes PR 46511 by Nouod de Brouwer. Set LICENSE while here.
This commit is contained in:
parent
51c9f88d5b
commit
fb06b9e127
2 changed files with 16 additions and 1 deletions
|
@ -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"
|
||||
|
|
12
math/gnumeric/options.mk
Normal file
12
math/gnumeric/options.mk
Normal file
|
@ -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
|
Loading…
Reference in a new issue