aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/cursor-bluecurve-theme
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-30 13:30:12 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-30 13:30:12 +0000
commit51c69fad3ae50709ce3b70dad0251c46ca0e1b27 (patch)
treef6a11e3490518151fbaa3011564198471d5a50c4 /x11-themes/cursor-bluecurve-theme
parentdaac81028d933c4acfcaf90a4c825713ad096a6d (diff)
Notes
Diffstat (limited to 'x11-themes/cursor-bluecurve-theme')
-rw-r--r--x11-themes/cursor-bluecurve-theme/Makefile43
-rw-r--r--x11-themes/cursor-bluecurve-theme/pkg-descr7
2 files changed, 50 insertions, 0 deletions
diff --git a/x11-themes/cursor-bluecurve-theme/Makefile b/x11-themes/cursor-bluecurve-theme/Makefile
new file mode 100644
index 000000000000..a9fe12ce7f38
--- /dev/null
+++ b/x11-themes/cursor-bluecurve-theme/Makefile
@@ -0,0 +1,43 @@
+# 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
+
+COMMENT= The Bluecurve X cursor themes
+
+# we only need gdk-pixbuf for building cursorthemegen, so do not USE_GNOME
+BUILD_DEPENDS= ${X11BASE}/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
+
+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 000000000000..e88ae92482fe
--- /dev/null
+++ b/x11-themes/cursor-bluecurve-theme/pkg-descr
@@ -0,0 +1,7 @@
+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.
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org