diff options
Diffstat (limited to 'x11-toolkits/gtk20')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 17 | ||||
-rw-r--r-- | x11-toolkits/gtk20/distinfo | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index ca2397b86b50..7175edd44fb5 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -20,6 +20,13 @@ MASTER_SITE_SUBDIR= gtk/v${PORTVERSION:R} DISTNAME= gtk+-${PORTVERSION} DIST_SUBDIR= gnome2 +.if defined(WITH_DROPSHADOW) +PATCH_SITES= ${MASTER_SITE_SOURCEFORGE} +PATCH_SITE_SUBDIR= xfce +PATCHFILES= gtk+-menushadow.patch +PATCH_DIST_STRIP= -p1 +.endif + MAINTAINER= gnome@FreeBSD.org COMMENT= Gimp Toolkit for X11 GUI (current stable version) @@ -44,6 +51,16 @@ PLIST_SUB= GTK_VERSION="2.2.0" MAN1= gdk-pixbuf-csource.1 +pre-everything:: +.if !defined(WITH_DROPSHADOW) + @${ECHO_MSG} + @${ECHO_MSG} "If you want to compile with experimental menu dropshadow patch, + @${ECHO_MSG} "hit Ctrl-C right now and use make \"WITH_DROPSHADOW=yes\"" + @${ECHO_MSG} "NOTE: This option is not supported by FreeBSD GNOME Team." + @${ECHO_MSG} "Please, don't bug us if it doesn't work or build broken." + @${ECHO_MSG} +.endif + post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${GREP} -l lgmodule | \ ${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g' diff --git a/x11-toolkits/gtk20/distinfo b/x11-toolkits/gtk20/distinfo index 05e2bbfd4eba..5b3dc09b58e1 100644 --- a/x11-toolkits/gtk20/distinfo +++ b/x11-toolkits/gtk20/distinfo @@ -1 +1,2 @@ MD5 (gnome2/gtk+-2.2.4.tar.bz2) = 605332199533e73bc6eec481fb4f1671 +MD5 (gnome2/gtk+-menushadow.patch) = 5e02af6c81df2c312c569b40bea129ba |