diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-09 05:55:52 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-09 05:55:52 +0800 |
commit | c668ee1f6315aa3cffa5f53279f984217c6668f1 (patch) | |
tree | c533af649ed80214a9a37459895b4266a2054c17 | |
parent | fc4cf1d96f64e6b9357dddade919a31bf32f166e (diff) | |
download | marcuscom-ports-c668ee1f6315aa3cffa5f53279f984217c6668f1.tar marcuscom-ports-c668ee1f6315aa3cffa5f53279f984217c6668f1.tar.gz marcuscom-ports-c668ee1f6315aa3cffa5f53279f984217c6668f1.tar.bz2 marcuscom-ports-c668ee1f6315aa3cffa5f53279f984217c6668f1.tar.lz marcuscom-ports-c668ee1f6315aa3cffa5f53279f984217c6668f1.tar.xz marcuscom-ports-c668ee1f6315aa3cffa5f53279f984217c6668f1.tar.zst marcuscom-ports-c668ee1f6315aa3cffa5f53279f984217c6668f1.zip |
- Add clearlooks with clearlooks metacity disabled on clearlooks-themes port
but enabled on clearlooks since gnome-themes now includes clearlooks metacity.
I'm home =)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4424 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11-themes/clearlooks/Makefile | 73 | ||||
-rw-r--r-- | x11-themes/clearlooks/distinfo | 2 | ||||
-rw-r--r-- | x11-themes/clearlooks/files/patch-src_support.c | 12 | ||||
-rw-r--r-- | x11-themes/clearlooks/pkg-descr | 4 | ||||
-rw-r--r-- | x11-themes/clearlooks/pkg-plist | 52 |
5 files changed, 143 insertions, 0 deletions
diff --git a/x11-themes/clearlooks/Makefile b/x11-themes/clearlooks/Makefile new file mode 100644 index 000000000..92c985dac --- /dev/null +++ b/x11-themes/clearlooks/Makefile @@ -0,0 +1,73 @@ +# New ports collection makefile for: clearlooks +# Date created: 2005-02-26 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD: ports/x11-themes/clearlooks/Makefile,v 1.20 2005/06/30 12:22:32 ahze Exp $ +# + +PORTNAME?= clearlooks +PORTVERSION= 0.6.2 +CATEGORIES= x11-themes +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= clearlooks +DISTNAME= clearlooks-${PORTVERSION} + +MAINTAINER= ahze@FreeBSD.org +COMMENT?= GTK+ 2.x engine based on Bluecurve + +USE_BZIP2= yes +USE_LIBTOOL_VER=15 +USE_GNOME= gtk20 +USE_X_PREFIX= yes +USE_REINPLACE= yes + +CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ + LDFLAGS="-L${X11BASE}/lib" + +.if defined(PORTNAME) && ${PORTNAME} == "clearlooks" +OPTIONS+= ANIMATION "Enable experimental animated progressbars" Off \ + METACITY "Depend on MetaCity Theme" On +.endif + +.include <bsd.port.pre.mk> + +.if ${PORTNAME} == "clearlooks" +CONFLICTS+= gtk-engines2-[0-9]* clearlooks-themes[0-9]* +PLIST_SUB+= ENGINE="" +.else +CONFLICTS+= clearlooks-[0-9]* + +BUILD_DEPENDS+= ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2 +RUN_DEPENDS+= ${X11BASE}/libdata/pkgconfig/gtk-engines-2.pc:${PORTSDIR}/x11-themes/gtk-engines2 + +BUILD_WRKSRC= ${WRKSRC}/themes +INSTALL_WRKSRC= ${WRKSRC}/themes + +PLIST_SUB+= ENGINE="@comment " +.endif + +.if !defined(WITHOUT_METACITY) && ${PORTNAME}=="clearlooks" +RUN_DEPENDS+= ${X11BASE}/share/gnome/themes/Clearlooks/metacity-1/metacity-theme-1.xml:${PORTSDIR}/x11-themes/clearlooks-metacity +.endif + +.if defined(WITH_ANIMATION) +CONFIGURE_ARGS+= --enable-animation +.endif + +.if ${PORTNAME} == "clearlooks" +pre-everything:: + @if [ -n "`${PKG_INFO} -xI '^gtk-engines2*[0-9]*'`" ]; then \ + ${ECHO_MSG} ; \ + ${ECHO_MSG} "Gnome/gtk-engine users should use ${PORTSDIR}/x11-themes/clearlooks-themes instead" ; \ + ${ECHO_MSG} ; \ + ${FALSE}; \ + fi +.endif + +post-patch: +.if ${PORTNAME} != "clearlooks" + @${REINPLACE_CMD} -e 's|gtkrc||' \ + ${WRKSRC}/themes/Clearlooks/gtk-2.0/Makefile.in +.endif + +.include <bsd.port.post.mk> diff --git a/x11-themes/clearlooks/distinfo b/x11-themes/clearlooks/distinfo new file mode 100644 index 000000000..bcdbb12c5 --- /dev/null +++ b/x11-themes/clearlooks/distinfo @@ -0,0 +1,2 @@ +MD5 (clearlooks-0.6.2.tar.bz2) = 451ef33d1bffa261c5cbe01182199f97 +SIZE (clearlooks-0.6.2.tar.bz2) = 271558 diff --git a/x11-themes/clearlooks/files/patch-src_support.c b/x11-themes/clearlooks/files/patch-src_support.c new file mode 100644 index 000000000..6f6ef5abc --- /dev/null +++ b/x11-themes/clearlooks/files/patch-src_support.c @@ -0,0 +1,12 @@ +--- src/support.c.orig Thu Jun 9 17:19:53 2005 ++++ src/support.c Thu Jun 9 17:20:15 2005 +@@ -530,8 +530,8 @@ + void gtk_clist_get_header_index (GtkCList *clist, GtkWidget *button, + gint *column_index, gint *columns) + { +- *columns = clist->columns; + int i; ++ *columns = clist->columns; + + for (i=0; i<*columns; i++) + { diff --git a/x11-themes/clearlooks/pkg-descr b/x11-themes/clearlooks/pkg-descr new file mode 100644 index 000000000..9c30026c1 --- /dev/null +++ b/x11-themes/clearlooks/pkg-descr @@ -0,0 +1,4 @@ +This is a GTK+ 2.x engine based on Bluecurve. It features a modern look +without sacrificing (much) speed. + +WWW: http://clearlooks.sourceforge.net/ diff --git a/x11-themes/clearlooks/pkg-plist b/x11-themes/clearlooks/pkg-plist new file mode 100644 index 000000000..c4cc9520f --- /dev/null +++ b/x11-themes/clearlooks/pkg-plist @@ -0,0 +1,52 @@ +%%ENGINE%%lib/gtk-2.0/2.4.0/engines/libclearlooks.so +share/icons/Clearlooks/16x16/gtk/gtk-apply.png +share/icons/Clearlooks/16x16/gtk/gtk-cancel.png +share/icons/Clearlooks/16x16/gtk/gtk-go-back-ltr.png +share/icons/Clearlooks/16x16/gtk/gtk-go-back-rtl.png +share/icons/Clearlooks/16x16/gtk/gtk-go-down.png +share/icons/Clearlooks/16x16/gtk/gtk-go-forward-ltr.png +share/icons/Clearlooks/16x16/gtk/gtk-go-forward-rtl.png +share/icons/Clearlooks/16x16/gtk/gtk-go-up.png +share/icons/Clearlooks/16x16/gtk/gtk-goto-bottom.png +share/icons/Clearlooks/16x16/gtk/gtk-goto-first-ltr.png +share/icons/Clearlooks/16x16/gtk/gtk-goto-first-rtl.png +share/icons/Clearlooks/16x16/gtk/gtk-goto-last-ltr.png +share/icons/Clearlooks/16x16/gtk/gtk-goto-last-rtl.png +share/icons/Clearlooks/16x16/gtk/gtk-goto-top.png +share/icons/Clearlooks/16x16/gtk/gtk-refresh.png +share/icons/Clearlooks/24x24/gtk/gtk-apply.png +share/icons/Clearlooks/24x24/gtk/gtk-cancel.png +share/icons/Clearlooks/24x24/gtk/gtk-go-back-ltr.png +share/icons/Clearlooks/24x24/gtk/gtk-go-back-rtl.png +share/icons/Clearlooks/24x24/gtk/gtk-go-down.png +share/icons/Clearlooks/24x24/gtk/gtk-go-forward-ltr.png +share/icons/Clearlooks/24x24/gtk/gtk-go-forward-rtl.png +share/icons/Clearlooks/24x24/gtk/gtk-go-up.png +share/icons/Clearlooks/24x24/gtk/gtk-goto-bottom.png +share/icons/Clearlooks/24x24/gtk/gtk-goto-first-ltr.png +share/icons/Clearlooks/24x24/gtk/gtk-goto-first-rtl.png +share/icons/Clearlooks/24x24/gtk/gtk-goto-last-ltr.png +share/icons/Clearlooks/24x24/gtk/gtk-goto-last-rtl.png +share/icons/Clearlooks/24x24/gtk/gtk-goto-top.png +share/icons/Clearlooks/24x24/gtk/gtk-ok.png +share/icons/Clearlooks/24x24/gtk/gtk-refresh.png +share/icons/Clearlooks/index.theme +share/themes/Clearlooks-DeepSky/gtk-2.0/gtkrc +share/themes/Clearlooks-Olive/gtk-2.0/gtkrc +share/themes/Clearlooks-Quicksilver/gtk-2.0/gtkrc +%%ENGINE%%share/themes/Clearlooks/gtk-2.0/gtkrc +share/themes/Clearlooks/index.theme +@dirrm share/themes/Clearlooks/gtk-2.0 +@dirrm share/themes/Clearlooks-Quicksilver/gtk-2.0 +@dirrm share/themes/Clearlooks-Quicksilver +@dirrm share/themes/Clearlooks-Olive/gtk-2.0 +@dirrm share/themes/Clearlooks-Olive +@dirrm share/themes/Clearlooks-DeepSky/gtk-2.0 +@dirrm share/themes/Clearlooks-DeepSky +@dirrm share/themes/Clearlooks +@dirrm share/gnome/themes/Clearlooks +@dirrm share/icons/Clearlooks/24x24/gtk +@dirrm share/icons/Clearlooks/24x24 +@dirrm share/icons/Clearlooks/16x16/gtk +@dirrm share/icons/Clearlooks/16x16 +@dirrm share/icons/Clearlooks |