summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-themes/cursor-bluecurve-theme/Makefile52
-rw-r--r--x11-themes/cursor-bluecurve-theme/pkg-descr9
-rw-r--r--x11-themes/gnome-bluecurve-theme/Makefile26
-rw-r--r--x11-themes/gnome-bluecurve-theme/pkg-descr13
-rw-r--r--x11-themes/gtk-bluecurve-theme/Makefile83
-rw-r--r--x11-themes/gtk-bluecurve-theme/pkg-descr9
6 files changed, 192 insertions, 0 deletions
diff --git a/x11-themes/cursor-bluecurve-theme/Makefile b/x11-themes/cursor-bluecurve-theme/Makefile
new file mode 100644
index 000000000..3c97f79fb
--- /dev/null
+++ b/x11-themes/cursor-bluecurve-theme/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: cursor-bluecurve-theme
+# Date created: 29 May 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cursor-bluecurve-theme
+PORTREVISION= 1
+
+COMMENT= The Bluecurve X cursor themes
+
+# we only need gdk-pixbuf for building cursorthemegen, so do not USE_GNOME
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gdk-pixbuf-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20
+
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
+
+THEMES= Bluecurve Bluecurve-inverse
+
+.for t in ${THEMES}
+BC_HIERS+= ${WRKSRC}/art/cursor/${t}/${t}:${PREFIX}/lib/X11/icons/${t}/cursors
+PLIST_DIRS+= lib/X11/icons/${t}/cursors lib/X11/icons/${t}
+.endfor
+
+post-patch:
+.for t in ${THEMES}
+ @${REINPLACE_CMD} -e 's|dnd_|dnd-|' \
+ ${WRKSRC}/art/cursor/${t}/${t}.cursortheme
+.endfor
+ @${REINPLACE_CMD} -e 's|left-ptr-watch|left_ptr_watch|' \
+ ${WRKSRC}/art/cursor/Bluecurve-inverse/Bluecurve-inverse.cursortheme
+
+do-build:
+ cd ${WRKSRC}/art/cursor/cursorthemegen \
+ && ${CC} ${CFLAGS} `pkg-config --cflags --libs gdk-pixbuf-2.0` \
+ -o ${WRKSRC}/cursorthemegen main.c themefile.c
+.for t in ${THEMES}
+ cd ${WRKSRC}/art/cursor/${t} \
+ && ${WRKSRC}/cursorthemegen ${t}.cursortheme ${t}
+.endfor
+
+.include "${MASTERDIR}/bsd.bluecurve.mk"
+.include <bsd.port.pre.mk>
+
+.if ${X_WINDOW_SYSTEM:L} != xfree86-3
+BUILD_DEPENDS+= xcursorgen:${X_CLIENTS_PORT} # needed by cursorthemegen
+RUN_DEPENDS+= xcursorgen:${X_CLIENTS_PORT} # for the lib/X11/icons directory
+.else
+IGNORE= your X Window System is too old; install x11/xorg or x11/XFree86-4 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-themes/cursor-bluecurve-theme/pkg-descr b/x11-themes/cursor-bluecurve-theme/pkg-descr
new file mode 100644
index 000000000..7227649eb
--- /dev/null
+++ b/x11-themes/cursor-bluecurve-theme/pkg-descr
@@ -0,0 +1,9 @@
+Bluecurve is a set of themes created by the Red Hat Artwork project.
+It attempts to provide an unified look for the open source desktop.
+
+This port contains the Bluecurve X cursor themes.
+
+WWW: http://fedora.redhat.com/projects/artwork/
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/x11-themes/gnome-bluecurve-theme/Makefile b/x11-themes/gnome-bluecurve-theme/Makefile
new file mode 100644
index 000000000..c4e08e5d6
--- /dev/null
+++ b/x11-themes/gnome-bluecurve-theme/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: gnome-bluecurve-theme
+# Date created: 29 May 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-bluecurve-theme
+PORTREVISION= 2
+
+COMMENT= The Bluecurve GNOME meta-theme
+
+RUN_DEPENDS= ${LOCALBASE}/share/themes/Bluecurve/gtk-2.0/gtkrc:${PORTSDIR}/x11-themes/gtk-bluecurve-theme \
+ ${LOCALBASE}/share/icons/Bluecurve/index.theme:${PORTSDIR}/x11-themes/icon-bluecurve-theme \
+ ${LOCALBASE}/share/gnome/themes/Bluecurve/metacity-1/metacity-theme-1.xml:${PORTSDIR}/x11-themes/metacity-bluecurve-theme
+
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
+
+NO_BUILD= yes
+PLIST_FILES= share/themes/Bluecurve/index.theme
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/themes/Bluecurve
+ ${INSTALL_DATA} ${WRKSRC}/art/index.theme ${PREFIX}/share/themes/Bluecurve
+
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-themes/gnome-bluecurve-theme/pkg-descr b/x11-themes/gnome-bluecurve-theme/pkg-descr
new file mode 100644
index 000000000..399b2d941
--- /dev/null
+++ b/x11-themes/gnome-bluecurve-theme/pkg-descr
@@ -0,0 +1,13 @@
+Bluecurve is a set of themes created by the Red Hat Artwork project.
+It attempts to provide an unified look for the open source desktop.
+
+This port contains the Bluecurve GNOME meta-theme, which includes:
+
+ - the GTK+ themes (1.x and 2.x)
+ - the Metacity themes
+ - the icon set
+
+WWW: http://fedora.redhat.com/projects/artwork/
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/x11-themes/gtk-bluecurve-theme/Makefile b/x11-themes/gtk-bluecurve-theme/Makefile
new file mode 100644
index 000000000..45226e7d0
--- /dev/null
+++ b/x11-themes/gtk-bluecurve-theme/Makefile
@@ -0,0 +1,83 @@
+# New ports collection makefile for: bluecurve-unified
+# Date created: 3 October 2002
+# Whom: Eugeney Ryzhyk
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtk-bluecurve-theme
+PORTREVISION= 2
+
+COMMENT= The Bluecurve GTK+ 1.x and 2.x themes
+
+MASTERDIR= ${.CURDIR}/../bluecurve-themes
+
+EXTRA_PATCHES= ${WRKDIR}/redhat-artwork-0.122-padding-fix.patch
+PATCH_STRIP= -p1
+
+# GTK+ 1.x theme engine
+USE_GNOME+= gdkpixbuf
+GTK1_CFLAGS= `${LOCALBASE}/bin/gdk-pixbuf-config --cflags`
+GTK1_LIBS= `${LOCALBASE}/bin/gdk-pixbuf-config --libs`
+GTK1_WRKSRC= ${WRKSRC}/art/gtk/Bluecurve1
+GTK1_RCDIR= gtk
+GTK1_SOURCES= bluecurve1_theme_main.c bluecurve1_theme_draw.c
+GTK1_ENGINEDIR= lib/gtk/themes/engines
+
+# GTK+ 2.x theme engine
+USE_GNOME+= gtk20
+GTK2_CFLAGS= `${LOCALBASE}/bin/pkg-config --cflags gtk+-2.0`
+GTK2_LIBS= `${LOCALBASE}/bin/pkg-config --libs gtk+-2.0`
+GTK2_WRKSRC= ${WRKSRC}/art/gtk/Bluecurve
+GTK2_RCDIR= gtk-2.0
+GTK2_SOURCES= bluecurve_rc_style.c bluecurve_style.c bluecurve_theme_main.c
+GTK2_ENGINEDIR= lib/gtk-2.0/${GTK2_VERSION}/engines
+
+PLIST= ${WRKDIR}/pkg-plist
+EXTRA_STYLES= BerriesAndCream Gnome Grape Lime Slate Strawberry Tangerine
+
+post-patch:
+.for v in 1 2
+. for s in ${EXTRA_STYLES}
+ @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|' \
+ ${WRKSRC}/art/gtk/Bluecurve-${s}/${GTK${v}_RCDIR}/gtkrc
+. endfor
+.endfor
+
+do-build:
+.for v in 1 2
+ cd ${GTK${v}_WRKSRC} && \
+ ${CC} ${CFLAGS} -Wl,-export-dynamic -shared -fPIC \
+ ${GTK${v}_CFLAGS} ${GTK${v}_LIBS} -o libbluecurve.so \
+ ${GTK${v}_SOURCES}
+.endfor
+
+pre-install:
+ @${RM} -f ${PLIST}
+.for v in 1 2
+ @${ECHO_CMD} "${GTK${v}_ENGINEDIR}/libbluecurve.so" >> ${PLIST}
+ @${ECHO_CMD} "share/themes/Bluecurve/${GTK${v}_RCDIR}/gtkrc" >> ${PLIST}
+ @${ECHO_CMD} "@dirrm share/themes/Bluecurve/${GTK${v}_RCDIR}" >> ${PLIST}
+. for s in ${EXTRA_STYLES}
+ @${ECHO_CMD} "share/themes/Bluecurve-${s}/${GTK${v}_RCDIR}/gtkrc" >> ${PLIST}
+ @${ECHO_CMD} "@dirrm share/themes/Bluecurve-${s}/${GTK${v}_RCDIR}" >> ${PLIST}
+. endfor
+.endfor
+ @${ECHO_CMD} "@dirrmtry share/themes/Bluecurve" >> ${PLIST}
+.for s in ${EXTRA_STYLES}
+ @${ECHO_CMD} "@dirrm share/themes/Bluecurve-${s}" >> ${PLIST}
+.endfor
+
+do-install:
+.for v in 1 2
+ ${MKDIR} ${PREFIX}/${GTK${v}_ENGINEDIR}
+ ${INSTALL_PROGRAM} ${GTK${v}_WRKSRC}/libbluecurve.so ${PREFIX}/${GTK${v}_ENGINEDIR}
+ ${MKDIR} ${PREFIX}/share/themes/Bluecurve/${GTK${v}_RCDIR}
+ ${INSTALL_DATA} ${GTK${v}_WRKSRC}/${GTK${v}_RCDIR}/gtkrc ${PREFIX}/share/themes/Bluecurve/${GTK${v}_RCDIR}
+. for s in ${EXTRA_STYLES}
+ ${MKDIR} ${PREFIX}/share/themes/Bluecurve-${s}/${GTK${v}_RCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve-${s}/${GTK${v}_RCDIR}/gtkrc ${PREFIX}/share/themes/Bluecurve-${s}/${GTK${v}_RCDIR}
+. endfor
+.endfor
+
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-themes/gtk-bluecurve-theme/pkg-descr b/x11-themes/gtk-bluecurve-theme/pkg-descr
new file mode 100644
index 000000000..007846ce2
--- /dev/null
+++ b/x11-themes/gtk-bluecurve-theme/pkg-descr
@@ -0,0 +1,9 @@
+Bluecurve is a set of themes created by the Red Hat Artwork project.
+It attempts to provide an unified look for the open source desktop.
+
+This port contains the Bluecurve GTK+ 1.x and 2.x themes.
+
+WWW: http://fedora.redhat.com/projects/artwork/
+
+- Ryzhyk Eugeney
+rzheka@users.sourceforge.net