diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-03-14 00:28:58 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-03-14 00:28:58 +0000 |
commit | 60d0974eac16aa340e2b4707c17f7d646d8d8a18 (patch) | |
tree | 3a76d1ad6d0ac2da0a3ac39b438127da35704c7f /x11 | |
parent | 2b314e40570787a5bc6e5ffc6b6a3881ffbac503 (diff) |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/gcursor/Makefile | 30 | ||||
-rw-r--r-- | x11/gcursor/distinfo | 2 | ||||
-rw-r--r-- | x11/gcursor/files/patch-src::gcursor.c | 22 | ||||
-rw-r--r-- | x11/gcursor/pkg-descr | 5 | ||||
-rw-r--r-- | x11/gcursor/pkg-plist | 3 |
6 files changed, 63 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index f1ffa7b60c14..066bc07458be 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -44,6 +44,7 @@ SUBDIR += fixesext SUBDIR += fluxbg SUBDIR += fspanel + SUBDIR += gcursor SUBDIR += gdesklets-tasklist SUBDIR += gdkxft SUBDIR += gdm2 diff --git a/x11/gcursor/Makefile b/x11/gcursor/Makefile new file mode 100644 index 000000000000..34362ad2c677 --- /dev/null +++ b/x11/gcursor/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: gcursor +# Date created: 08 March 2004 +# Whom: Mezz <mezz7@cox.net> +# +# $FreeBSD$ +# + +PORTNAME= gcursor +PORTVERSION= 0.03 +CATEGORIES= x11 gnome +MASTER_SITES= http://download.qballcow.nl/programs/gcursor/ + +MAINTAINER= mezz7@cox.net +COMMENT= A mouse cursor theme selector for GNOME + +BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/xcursor.pc:${PORTSDIR}/x11/XFree86-4-libraries +RUN_DEPENDS= file-roller:${PORTSDIR}/archivers/fileroller + +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix gnometarget libgnomeui +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \ + ${WRKSRC}/src/gcursor.c + +.include <bsd.port.mk> diff --git a/x11/gcursor/distinfo b/x11/gcursor/distinfo new file mode 100644 index 000000000000..a567c00d374f --- /dev/null +++ b/x11/gcursor/distinfo @@ -0,0 +1,2 @@ +MD5 (gcursor-0.03.tar.gz) = 7dc17e9c3e4389c5065db8903f8d0710 +SIZE (gcursor-0.03.tar.gz) = 40334 diff --git a/x11/gcursor/files/patch-src::gcursor.c b/x11/gcursor/files/patch-src::gcursor.c new file mode 100644 index 000000000000..ba7c90f72599 --- /dev/null +++ b/x11/gcursor/files/patch-src::gcursor.c @@ -0,0 +1,22 @@ +--- src/gcursor.c.orig Mon Mar 8 01:16:17 2004 ++++ src/gcursor.c Mon Mar 8 01:16:51 2004 +@@ -15,7 +15,7 @@ + GConfClient *client; + XcursorImage * cursor = NULL; + char*current_theme = NULL; +-int path_index = 4; ++int path_index = 2; + + typedef struct { + XcursorImages *image; +@@ -25,9 +25,7 @@ + animation_struct animations[4]; + + char *paths[4] = { +- "/usr/share/cursors/xfree/", +- "/usr/local/share/icons/", +- "/usr/share/icons/", ++ "%%X11BASE%%/lib/X11/icons/", + "%s/.icons/" + }; + diff --git a/x11/gcursor/pkg-descr b/x11/gcursor/pkg-descr new file mode 100644 index 000000000000..99a2aa152288 --- /dev/null +++ b/x11/gcursor/pkg-descr @@ -0,0 +1,5 @@ +GCursor is a gtk+-2 xcursor selector. It tries to have the same look and feel +as the theme-selector in the gnome-control-center. Gcursor is a temporary +solution until a decent selector is included in the gnome-control-center. + +WWW: http://qballcow.nl/?s=17 diff --git a/x11/gcursor/pkg-plist b/x11/gcursor/pkg-plist new file mode 100644 index 000000000000..fbc44ea09e78 --- /dev/null +++ b/x11/gcursor/pkg-plist @@ -0,0 +1,3 @@ +bin/gcursor +share/gnome/gcursor/gcursor.glade +@dirrm share/gnome/gcursor |