summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk30
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2004-05-06 04:33:39 +0000
committermezz <mezz@FreeBSD.org>2004-05-06 04:33:39 +0000
commit67d42195a409feb5e5b135c271657889cd7cd17e (patch)
tree3b3317aecce29d981f12283ec62b7cb3689c1a63 /x11-toolkits/gtk30
parent2816f4c4098668a2c1efd1d658736dda3f375097 (diff)
downloadFreeBSD-ports-67d42195a409feb5e5b135c271657889cd7cd17e.zip
FreeBSD-ports-67d42195a409feb5e5b135c271657889cd7cd17e.tar.gz
Add experimental WITH_DROPSHADOW option back in; it is not supported by
FreeBSD GNOME Team. PR: ports/66295 Submitted by: michael johnson <ahze@ahze.net> Approved by: marcus (backup mentor)
Diffstat (limited to 'x11-toolkits/gtk30')
-rw-r--r--x11-toolkits/gtk30/Makefile17
-rw-r--r--x11-toolkits/gtk30/distinfo2
2 files changed, 19 insertions, 0 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index 8445074..e40321d 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -19,6 +19,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+-2.4.0-menushadow.patch
+PATCH_DIST_STRIP= -p1
+.endif
+
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gimp Toolkit for X11 GUI (current stable version)
@@ -43,6 +50,16 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
PLIST_SUB= GTK_VERSION="2.4.0"
+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 cbefb58..8a6a7de 100644
--- a/x11-toolkits/gtk30/distinfo
+++ b/x11-toolkits/gtk30/distinfo
@@ -1,2 +1,4 @@
MD5 (gnome2/gtk+-2.4.1.tar.bz2) = b71fc8b24ffd9399f98fc2a41cfe0c0c
SIZE (gnome2/gtk+-2.4.1.tar.bz2) = 8853839
+MD5 (gnome2/gtk+-2.4.0-menushadow.patch) = 5dde5c5af8f25d282c365663a7256b5c
+SIZE (gnome2/gtk+-2.4.0-menushadow.patch) = 15603
OpenPOWER on IntegriCloud