summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk30
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2003-11-02 15:06:51 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2003-11-02 15:06:51 +0000
commitcbef2efb0292f48cdb64c0d088d0e2848481cc07 (patch)
tree3053504c59deda59dc02189f2cff9be91f380b4f /x11-toolkits/gtk30
parentUpdated to 1.5 (diff)
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)
Notes
Notes: svn path=/head/; revision=92849
Diffstat (limited to 'x11-toolkits/gtk30')
-rw-r--r--x11-toolkits/gtk30/Makefile17
-rw-r--r--x11-toolkits/gtk30/distinfo1
2 files changed, 18 insertions, 0 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index ca2397b86b50..7175edd44fb5 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/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/gtk30/distinfo b/x11-toolkits/gtk30/distinfo
index 05e2bbfd4eba..5b3dc09b58e1 100644
--- a/x11-toolkits/gtk30/distinfo
+++ b/x11-toolkits/gtk30/distinfo
@@ -1 +1,2 @@
MD5 (gnome2/gtk+-2.2.4.tar.bz2) = 605332199533e73bc6eec481fb4f1671
+MD5 (gnome2/gtk+-menushadow.patch) = 5e02af6c81df2c312c569b40bea129ba