diff options
author | adamw <adamw@FreeBSD.org> | 2003-08-02 17:44:15 +0000 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2003-08-02 17:44:15 +0000 |
commit | 909c3538297334ff633247444b7bdc9daf79f59c (patch) | |
tree | 62773c83ea49ca8c1229d9ecec398a14088a893c /x11-themes/gtk-industrial-theme | |
parent | 0b9e7fc6ae4e26117e13b7a5d19ad34367a40cef (diff) | |
download | FreeBSD-ports-909c3538297334ff633247444b7bdc9daf79f59c.zip FreeBSD-ports-909c3538297334ff633247444b7bdc9daf79f59c.tar.gz |
Build the GTK2 engine and GTK2 theme by default. Also, patch pixmap_path
in the gtk-2.0/gtkrc.
Submitted by: maintainer
Diffstat (limited to 'x11-themes/gtk-industrial-theme')
-rw-r--r-- | x11-themes/gtk-industrial-theme/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/x11-themes/gtk-industrial-theme/Makefile b/x11-themes/gtk-industrial-theme/Makefile index 659f38d..ef8e148 100644 --- a/x11-themes/gtk-industrial-theme/Makefile +++ b/x11-themes/gtk-industrial-theme/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtk-industrial-theme PORTVERSION= 0.2.26 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= http://ftp.ximian.com/pub/xd2/redhat-9-i386/source/ DISTNAME= ximian-artwork-${PORTVERSION}-${XIMIAN_SUBVERSION}.ximian.${XIMIAN_DISTVERSION}.src @@ -28,7 +29,8 @@ XIMIAN_SUBVERSION= 0 XIMIAN_DISTVERSION= 6.1 THEMES_SUBDIRS= ${WRKSRC}/gtk/gtk1-engine/ -.if defined(WITH_GTK2) +.if !defined(WITHOUT_GTK2) +WITH_GTK2= yes USE_GNOME+= gtk20 THEMES_SUBDIRS+= ${WRKSRC}/gtk/gtk2-engine/ GTK_VERSION= 2.2.0 @@ -39,10 +41,10 @@ PLIST_SUB+= GTK2="@comment " pre-everything:: @${ECHO} "" - @${ECHO} "By default only gtk-1.2 theme engine will be built." + @${ECHO} "By default both the gtk-1.2 and gtk-2 theme engine will be built." @${ECHO} "You may use the following build options:" @${ECHO} "" - @${ECHO} " WITH_GTK2=yes Build gtk-2 theme" + @${ECHO} " WITHOUT_GTK2=yes Build only the gtk-1.2 theme" @${ECHO} "" do-extract: @@ -56,8 +58,11 @@ do-extract: ${CP} ${FILESDIR}/Makefile-gtk2 ${WRKSRC}/gtk/gtk2-engine/Makefile post-patch: - @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/gtk/gtk1-engine/Makefile - @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/gtk/gtk2-engine/Makefile + @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' \ + ${WRKSRC}/gtk/gtk1-engine/Makefile \ + ${WRKSRC}/gtk/gtk2-engine/Makefile + @${REINPLACE_CMD} -e 's#/opt/gnome2#${X11BASE}#' \ + ${WRKSRC}/gtk/gtk2-engine/gtk-2.0/gtkrc do-configure: @${DO_NADA} |