diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2007-09-28 14:01:10 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2007-09-28 14:01:10 +0000 |
commit | efed22fbccf70acf25412bc16adcf375b60871a9 (patch) | |
tree | 6238774541849ac2b31334cb0dfc4ce15f126ab7 /graphics/gimp-app-devel | |
parent | Update to 2.4.0-rc3 (diff) |
Make gnomevfs and dbus optional
PR: ports/116497
Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>
Notes
Notes:
svn path=/head/; revision=200274
Diffstat (limited to 'graphics/gimp-app-devel')
-rw-r--r-- | graphics/gimp-app-devel/Makefile | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/graphics/gimp-app-devel/Makefile b/graphics/gimp-app-devel/Makefile index d1381ef28e36..52c9709a38b6 100644 --- a/graphics/gimp-app-devel/Makefile +++ b/graphics/gimp-app-devel/Makefile @@ -8,7 +8,7 @@ PORTNAME= gimp-app DISTVERSION= 2.4.0-rc3 -PORTREVISION?= 0 +PORTREVISION?= 1 PORTEPOCH?= 1 CATEGORIES?= graphics gnome MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \ @@ -33,9 +33,7 @@ LIB_DEPENDS= exif.12:${PORTSDIR}/graphics/libexif \ png.5:${PORTSDIR}/graphics/png \ jpeg.9:${PORTSDIR}/graphics/jpeg \ tiff.4:${PORTSDIR}/graphics/tiff \ - lcms.1:${PORTSDIR}/graphics/lcms \ - dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ - gnome-keyring.0:${PORTSDIR}/security/gnome-keyring + lcms.1:${PORTSDIR}/graphics/lcms USE_BZIP2= yes USE_GETTEXT= yes @@ -62,6 +60,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ .if !defined(GIMP_SLAVE) OPTIONS?= DEBUG "debugging" off \ + DBUS "D-BUS support" on \ + GNOMEVFS "Use GNOME VFS for the URI plug-in" on \ HELPBROWSER "internal help browser" on \ MP "multiple processor support" off \ RSVG "SVG format support" on @@ -123,6 +123,18 @@ CONFIGURE_ARGS+= --without-gtkhtml2 PLIST_SUB+= HELPBROWSER="@comment " .endif +.if defined(WITH_DBUS) +LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ +CONFIGURE_ARGS+= --with-dbus +.else +CONFIGURE_ARGS+= --without-dbus +.endif + +.if defined(WITH_GNOMEVFS) || ${HAVE_GNOME:Mgnomevfs2}!="" +LIB_DEPENDS+= gnome-keyring.0:${PORTSDIR}/security/gnome-keyring +USE_GNOME+= gnomevfs2 +.endif + .endif post-patch: |