summaryrefslogtreecommitdiffstats
path: root/x11-themes/cursor-bluecurve-theme
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-02 10:29:40 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-02 10:29:40 +0800
commit5ef0e6904ea609cfad9fa2f85fd8290ead5841d0 (patch)
tree5f62cbc37c49a95a32acffca42c56f24c709ba7e /x11-themes/cursor-bluecurve-theme
parentb3c98565e0c1d3411c1999fb0c99fb01843d5b20 (diff)
downloadmarcuscom-ports-5ef0e6904ea609cfad9fa2f85fd8290ead5841d0.tar
marcuscom-ports-5ef0e6904ea609cfad9fa2f85fd8290ead5841d0.tar.gz
marcuscom-ports-5ef0e6904ea609cfad9fa2f85fd8290ead5841d0.tar.bz2
marcuscom-ports-5ef0e6904ea609cfad9fa2f85fd8290ead5841d0.tar.lz
marcuscom-ports-5ef0e6904ea609cfad9fa2f85fd8290ead5841d0.tar.xz
marcuscom-ports-5ef0e6904ea609cfad9fa2f85fd8290ead5841d0.tar.zst
marcuscom-ports-5ef0e6904ea609cfad9fa2f85fd8290ead5841d0.zip
X11BASE -> LOCALBASE, bluecurve-theme and gtk live in LOCALBASE. Bump the
PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6928 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes/cursor-bluecurve-theme')
-rw-r--r--x11-themes/cursor-bluecurve-theme/Makefile52
-rw-r--r--x11-themes/cursor-bluecurve-theme/pkg-descr9
2 files changed, 61 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