aboutsummaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-08-02 17:44:15 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-08-02 17:44:15 +0000
commit6f0e7de53430bb587554ea24e1ff35af91a55df3 (patch)
tree646b922ab36a5bfcca0be657a4a35986d5d42c1d /x11-themes
parent91de4e4b2b8eaf0e7b5dd5f8c09dfed113886982 (diff)
downloadports-6f0e7de53430bb587554ea24e1ff35af91a55df3.tar.gz
ports-6f0e7de53430bb587554ea24e1ff35af91a55df3.zip
Notes
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/gtk-industrial-theme/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/x11-themes/gtk-industrial-theme/Makefile b/x11-themes/gtk-industrial-theme/Makefile
index 659f38df2258..ef8e148db3ed 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}