diff options
author | mezz <mezz@FreeBSD.org> | 2011-06-05 06:40:03 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2011-06-05 06:40:03 +0800 |
commit | b0431bc94b0accb61b3af376206fd428da065ab3 (patch) | |
tree | cff66e19689eefe64f8c2415d1e2ee2e0ca9f97e /math | |
parent | 9c45e854df321800874ba71cf8143807c0e618a9 (diff) | |
download | freebsd-ports-gnome-b0431bc94b0accb61b3af376206fd428da065ab3.tar.gz freebsd-ports-gnome-b0431bc94b0accb61b3af376206fd428da065ab3.tar.zst freebsd-ports-gnome-b0431bc94b0accb61b3af376206fd428da065ab3.zip |
-Turn libgnomeui into an optional.
-Mark MAKE_JOBS_SAFE.
-Remove gconf stuff.
PR: ports/156712
Submitted by: Zhihao Yuan <lichray@gmail.com>
Diffstat (limited to 'math')
-rw-r--r-- | math/gnumeric/Makefile | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile index 79effcf20673..e3a89d49a787 100644 --- a/math/gnumeric/Makefile +++ b/math/gnumeric/Makefile @@ -24,8 +24,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING USE_BZIP2= yes USE_GETTEXT= yes USE_GMAKE= yes -USE_GNOME= gnomeprefix intlhack gnomehack gnomehier \ - libgsf_gnome pygtk2 desktopfileutils libgnomeui +USE_GNOME= gnomeprefix intlhack gnomehack gnomehier pygtk2 \ + desktopfileutils +WANT_GNOME= yes USE_PYTHON= yes INSTALLS_OMF= yes USE_LDCONFIG= yes @@ -37,8 +38,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" \ python_prog=${PYTHON_VERSION} -GCONF_SCHEMAS= gnumeric-dialogs.schemas gnumeric-general.schemas \ - gnumeric-plugins.schemas +MAKE_JOBS_SAFE= yes + GLIB_SCHEMAS= org.gnome.gnumeric.dialogs.gschema.xml \ org.gnome.gnumeric.gschema.xml \ org.gnome.gnumeric.plugin.gschema.xml @@ -52,6 +53,14 @@ OPTIONS= PERL "Enable Perl as extension language" on .include <bsd.port.pre.mk> +.if ${HAVE_GNOME:Mlibgnomeui}!="" +CONFIGURE_ARGS+=--with-gnome=yes +USE_GNOME+= libgnomeui libgsf_gnome +.else +CONFIGURE_ARGS+=--with-gnome=no +USE_GNOME+= libgsf +.endif + .if defined(WITH_PERL) USE_PERL5= yes PLIST_SUB+= PERL="" @@ -73,7 +82,8 @@ post-patch: @${RM} -f ${WRKSRC}/GNOME_Gnumeric.server.in @${REINPLACE_CMD} -e 's|gda-3.0 >= 3.1.1|gda-3.0 >= 3.0.1|g' \ -e 's|gnomedb-3.0 >= 3.0.1|gnomedb-3.0 >= 3.0.0|g' \ - ${WRKSRC}/configure + -e 's|gnumeric_with_gconf=true|gnumeric_with_gconf=false|g' \ + ${WRKSRC}/configure post-install: ${INSTALL_DATA} ${WRKSRC}/gnumeric.desktop ${PREFIX}/share/applications |