diff options
author | ahze <ahze@FreeBSD.org> | 2007-06-01 19:19:10 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2007-06-01 19:19:10 +0800 |
commit | 5992f9076ea516576ab85b3bfae9a50ad602d25a (patch) | |
tree | 7fa933f5b9a5e47b68b823fe674dab5dd96f9110 /graphics/gimp-app-devel | |
parent | db5888e26b76f938bbbd33ec5b10dbef322bc462 (diff) | |
download | freebsd-ports-gnome-5992f9076ea516576ab85b3bfae9a50ad602d25a.tar.gz freebsd-ports-gnome-5992f9076ea516576ab85b3bfae9a50ad602d25a.tar.zst freebsd-ports-gnome-5992f9076ea516576ab85b3bfae9a50ad602d25a.zip |
Make gtkhtml optional
PR: ports/112374
Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>
Diffstat (limited to 'graphics/gimp-app-devel')
-rw-r--r-- | graphics/gimp-app-devel/Makefile | 14 | ||||
-rw-r--r-- | graphics/gimp-app-devel/pkg-plist | 2 |
2 files changed, 13 insertions, 3 deletions
diff --git a/graphics/gimp-app-devel/Makefile b/graphics/gimp-app-devel/Makefile index e2f52ff6fcf5..81942d685278 100644 --- a/graphics/gimp-app-devel/Makefile +++ b/graphics/gimp-app-devel/Makefile @@ -8,7 +8,7 @@ PORTNAME= gimp-app PORTVERSION= 2.3.16 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH?= 1 CATEGORIES?= graphics gnome MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \ @@ -39,7 +39,7 @@ USE_GETTEXT= yes USE_XPM= yes USE_GMAKE= yes USE_AUTOTOOLS= libtool:15 -USE_GNOME+= gnomehack intltool intlhack gtk20 libartlgpl2 ltverhack desktopfileutils libgtkhtml +USE_GNOME+= gnomehack intltool intlhack gtk20 libartlgpl2 ltverhack desktopfileutils WANT_GNOME= yes USE_GCC= 3.4+ USE_LDCONFIG= yes @@ -58,6 +58,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ .if !defined(GIMP_SLAVE) OPTIONS?= DEBUG "debugging" off \ + HELPBROWSER "internal help browser" on \ MP "multiple processor support" off \ RSVG "SVG format support" on .endif @@ -104,6 +105,15 @@ PLIST_SUB+= GNOME="" PLIST_SUB+= GNOME="@comment " .endif +.if defined(WITH_HELPBROWSER) +USE_GNOME+= libgtkhtml +CONFIGURE_ARGS+= --with-gtkhtml2 +PLIST_SUB+= HELPBROWSER="" +.else +CONFIGURE_ARGS+= --without-gtkhtml2 +PLIST_SUB+= HELPBROWSER="@comment " +.endif + .endif post-patch: diff --git a/graphics/gimp-app-devel/pkg-plist b/graphics/gimp-app-devel/pkg-plist index 86524569d23c..87df782d07ab 100644 --- a/graphics/gimp-app-devel/pkg-plist +++ b/graphics/gimp-app-devel/pkg-plist @@ -356,7 +356,7 @@ libexec/gimp/2.2/plug-ins/gtm libexec/gimp/2.2/plug-ins/guillotine libexec/gimp/2.2/plug-ins/header libexec/gimp/2.2/plug-ins/help -libexec/gimp/2.2/plug-ins/helpbrowser +%%HELPBROWSER%%libexec/gimp/2.2/plug-ins/helpbrowser libexec/gimp/2.2/plug-ins/hot libexec/gimp/2.2/plug-ins/ifscompose libexec/gimp/2.2/plug-ins/illusion |