1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

- Make gconf dependency optional by knob.

Approved by:	gnome (marcus)
This commit is contained in:
Stanislav Sedov 2009-02-12 18:34:49 +00:00
parent 7281ffa221
commit 95cb28e52c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228133
2 changed files with 10 additions and 3 deletions

View File

@ -24,7 +24,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_GETTEXT= yes
USE_LDCONFIG= yes
USE_GNOME?= gnomehack gnomeprefix glib20 libxml2 gconf2 ltverhack intlhack
USE_GNOME?= gnomehack gnomeprefix glib20 libxml2 ltverhack intlhack
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS?=--without-gnome-vfs --without-python --with-gio \
--without-bonobo
@ -32,8 +32,15 @@ CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if !defined(GSF_SLAVE)
GCONF_SCHEMAS= gsf-office-thumbnailer.schemas
MAN1= gsf.1 gsf-office-thumbnailer.1 gsf-vba-dump.1
.endif
.if !defined(WITHOUT_GCONF) || exists(${LOCALBASE}/bin/gconftool-2)
USE_GNOME+= gconf2
PLIST_SUB+= THUMB=""
GCONF_SCHEMAS= gsf-office-thumbnailer.schemas
.else
PLIST_SUB+= THUMB="@comment "
.endif
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
bin/gsf
bin/gsf-office-thumbnailer
%%THUMB%%bin/gsf-office-thumbnailer
bin/gsf-vba-dump
include/libgsf-1/gsf/gsf-blob.h
include/libgsf-1/gsf/gsf-clip-data.h