diff options
| author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-04-25 20:50:53 +0000 |
|---|---|---|
| committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-04-25 20:50:53 +0000 |
| commit | ee9ed2fdf1b08d5efb669b3562110e510c84c348 (patch) | |
| tree | 5a6864ec2d8ac6553dd0dcaf48166d0a90b37cf7 /math | |
| parent | 6526752ad7ac6c67e384a491612a325a23746a5e (diff) | |
Notes
Diffstat (limited to 'math')
| -rw-r--r-- | math/gnumeric/Makefile | 14 | ||||
| -rw-r--r-- | math/gnumeric/pkg-plist | 14 |
2 files changed, 18 insertions, 10 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile index 66b8034d16db..93a9d205d20c 100644 --- a/math/gnumeric/Makefile +++ b/math/gnumeric/Makefile @@ -20,7 +20,6 @@ LIB_DEPENDS= goffice-0.8.7:${PORTSDIR}/devel/goffice \ USE_BZIP2= yes USE_GETTEXT= yes -USE_PERL5= yes USE_GMAKE= yes USE_GNOME= gnomeprefix intlhack gnomehack gnomehier \ libgsf_gnome pygtk2 desktopfileutils libgnomeui @@ -29,7 +28,7 @@ INSTALLS_OMF= yes USE_LDCONFIG= yes INSTALLS_ICONS= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-guile --with-bonobo --with-gnome +CONFIGURE_ARGS= --with-gnome CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" \ python_prog=${PYTHON_VERSION} @@ -41,10 +40,19 @@ MAN1= gnumeric.1 ssconvert.1 ssindex.1 ssgrep.1 PLIST_SUB= VERSION=${PORTVERSION} -OPTIONS= GNOMEDB "Enable libgnomedb support" off +OPTIONS= GNOMEDB "Enable libgnomedb support" off \ + PERL "Enable Perl as extension language" on .include <bsd.port.pre.mk> +.if defined(WITH_PERL) +USE_PERL5= yes +PLIST_SUB+= PERL="" +.else +CONFIGURE_ARGS+= --without-perl +PLIST_SUB+= PERL="@comment " +.endif + .if defined(WITH_GNOMEDB) USE_GNOME+= libgnomedb CONFIGURE_ARGS+= --with-gda diff --git a/math/gnumeric/pkg-plist b/math/gnumeric/pkg-plist index 771c401664db..203131f32452 100644 --- a/math/gnumeric/pkg-plist +++ b/math/gnumeric/pkg-plist @@ -206,11 +206,11 @@ lib/gnumeric/%%VERSION%%/plugins/oleo/plugin.xml lib/gnumeric/%%VERSION%%/plugins/openoffice/openoffice.la lib/gnumeric/%%VERSION%%/plugins/openoffice/openoffice.so lib/gnumeric/%%VERSION%%/plugins/openoffice/plugin.xml -lib/gnumeric/%%VERSION%%/plugins/perl-func/perl_func.pl -lib/gnumeric/%%VERSION%%/plugins/perl-func/plugin.xml -lib/gnumeric/%%VERSION%%/plugins/perl-loader/perl_loader.la -lib/gnumeric/%%VERSION%%/plugins/perl-loader/perl_loader.so -lib/gnumeric/%%VERSION%%/plugins/perl-loader/plugin.xml +%%PERL%%lib/gnumeric/%%VERSION%%/plugins/perl-func/perl_func.pl +%%PERL%%lib/gnumeric/%%VERSION%%/plugins/perl-func/plugin.xml +%%PERL%%lib/gnumeric/%%VERSION%%/plugins/perl-loader/perl_loader.la +%%PERL%%lib/gnumeric/%%VERSION%%/plugins/perl-loader/perl_loader.so +%%PERL%%lib/gnumeric/%%VERSION%%/plugins/perl-loader/plugin.xml lib/gnumeric/%%VERSION%%/plugins/plan_perfect/plan_perfect.la lib/gnumeric/%%VERSION%%/plugins/plan_perfect/plan_perfect.so lib/gnumeric/%%VERSION%%/plugins/plan_perfect/plugin.xml @@ -944,8 +944,8 @@ share/locale/zh_TW/LC_MESSAGES/gnumeric.mo @dirrm lib/gnumeric/%%VERSION%%/plugins/py-func @dirrm lib/gnumeric/%%VERSION%%/plugins/psiconv @dirrm lib/gnumeric/%%VERSION%%/plugins/plan_perfect -@dirrm lib/gnumeric/%%VERSION%%/plugins/perl-loader -@dirrm lib/gnumeric/%%VERSION%%/plugins/perl-func +%%PERL%%@dirrm lib/gnumeric/%%VERSION%%/plugins/perl-loader +%%PERL%%@dirrm lib/gnumeric/%%VERSION%%/plugins/perl-func @dirrm lib/gnumeric/%%VERSION%%/plugins/openoffice @dirrm lib/gnumeric/%%VERSION%%/plugins/oleo @dirrm lib/gnumeric/%%VERSION%%/plugins/numtheory |
