-Turn libgnomeui into an optional.

-Mark MAKE_JOBS_SAFE.
-Remove gconf stuff.

PR:		ports/156712
Submitted by:	Zhihao Yuan <lichray@gmail.com>
This commit is contained in:
Jeremy Messenger 2011-06-04 22:40:03 +00:00
parent 93d721ee8e
commit ba7d64a8cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275076

View file

@ -24,8 +24,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes USE_BZIP2= yes
USE_GETTEXT= yes USE_GETTEXT= yes
USE_GMAKE= yes USE_GMAKE= yes
USE_GNOME= gnomeprefix intlhack gnomehack gnomehier \ USE_GNOME= gnomeprefix intlhack gnomehack gnomehier pygtk2 \
libgsf_gnome pygtk2 desktopfileutils libgnomeui desktopfileutils
WANT_GNOME= yes
USE_PYTHON= yes USE_PYTHON= yes
INSTALLS_OMF= yes INSTALLS_OMF= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
@ -37,8 +38,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" \ LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" \
python_prog=${PYTHON_VERSION} python_prog=${PYTHON_VERSION}
GCONF_SCHEMAS= gnumeric-dialogs.schemas gnumeric-general.schemas \ MAKE_JOBS_SAFE= yes
gnumeric-plugins.schemas
GLIB_SCHEMAS= org.gnome.gnumeric.dialogs.gschema.xml \ GLIB_SCHEMAS= org.gnome.gnumeric.dialogs.gschema.xml \
org.gnome.gnumeric.gschema.xml \ org.gnome.gnumeric.gschema.xml \
org.gnome.gnumeric.plugin.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> .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) .if defined(WITH_PERL)
USE_PERL5= yes USE_PERL5= yes
PLIST_SUB+= PERL="" PLIST_SUB+= PERL=""
@ -73,6 +82,7 @@ post-patch:
@${RM} -f ${WRKSRC}/GNOME_Gnumeric.server.in @${RM} -f ${WRKSRC}/GNOME_Gnumeric.server.in
@${REINPLACE_CMD} -e 's|gda-3.0 >= 3.1.1|gda-3.0 >= 3.0.1|g' \ @${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' \ -e 's|gnomedb-3.0 >= 3.0.1|gnomedb-3.0 >= 3.0.0|g' \
-e 's|gnumeric_with_gconf=true|gnumeric_with_gconf=false|g' \
${WRKSRC}/configure ${WRKSRC}/configure
post-install: post-install: