diff options
author | bland <bland@FreeBSD.org> | 2003-11-02 23:06:51 +0800 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2003-11-02 23:06:51 +0800 |
commit | 97e1ebeb1796758c32f9d396b59af045b3c15a36 (patch) | |
tree | 8edb8d7033c1908a0e5c7260ce2bba140092f2fb /x11-toolkits/gtk20 | |
parent | 4e6e3223ed07c23c42df438e82a3940fe90758f5 (diff) | |
download | freebsd-ports-gnome-97e1ebeb1796758c32f9d396b59af045b3c15a36.tar.gz freebsd-ports-gnome-97e1ebeb1796758c32f9d396b59af045b3c15a36.tar.zst freebsd-ports-gnome-97e1ebeb1796758c32f9d396b59af045b3c15a36.zip |
Due popular demand and weeling of gnome@ to deliver more eye candy
port to the users we add experimental WITH_DROPSHADOW option.
PR: 58757
Submitted by: Miguel Mendez <flynn@energyhq.es.eu.org> (slightly modified)
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 |