diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2003-11-02 15:06:51 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2003-11-02 15:06:51 +0000 |
commit | cbef2efb0292f48cdb64c0d088d0e2848481cc07 (patch) | |
tree | 3053504c59deda59dc02189f2cff9be91f380b4f /x11-toolkits/gtk30/Makefile | |
parent | f23f92a5a22777a0b91755f22a5066fe32e103fc (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/Makefile')
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 17 |
1 files changed, 17 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' |