From a22453092df8f1b5ce0f8a05dd28cfc9558ea563 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Mon, 24 Jul 2000 17:27:13 +0000 Subject: Add gtk-theme-switch - an command line utility to switch GTK+ themes. --- x11/Makefile | 1 + x11/gtk-theme-switch/Makefile | 26 ++++++++++++++++++++++++++ x11/gtk-theme-switch/distinfo | 1 + x11/gtk-theme-switch/files/patch-aa | 24 ++++++++++++++++++++++++ x11/gtk-theme-switch/pkg-comment | 1 + x11/gtk-theme-switch/pkg-descr | 3 +++ x11/gtk-theme-switch/pkg-plist | 4 ++++ x11/gtk-theme-switch2/Makefile | 26 ++++++++++++++++++++++++++ x11/gtk-theme-switch2/distinfo | 1 + x11/gtk-theme-switch2/files/patch-aa | 24 ++++++++++++++++++++++++ x11/gtk-theme-switch2/pkg-comment | 1 + x11/gtk-theme-switch2/pkg-descr | 3 +++ x11/gtk-theme-switch2/pkg-plist | 4 ++++ 13 files changed, 119 insertions(+) create mode 100644 x11/gtk-theme-switch/Makefile create mode 100644 x11/gtk-theme-switch/distinfo create mode 100644 x11/gtk-theme-switch/files/patch-aa create mode 100644 x11/gtk-theme-switch/pkg-comment create mode 100644 x11/gtk-theme-switch/pkg-descr create mode 100644 x11/gtk-theme-switch/pkg-plist create mode 100644 x11/gtk-theme-switch2/Makefile create mode 100644 x11/gtk-theme-switch2/distinfo create mode 100644 x11/gtk-theme-switch2/files/patch-aa create mode 100644 x11/gtk-theme-switch2/pkg-comment create mode 100644 x11/gtk-theme-switch2/pkg-descr create mode 100644 x11/gtk-theme-switch2/pkg-plist diff --git a/x11/Makefile b/x11/Makefile index 42e474f8799a..2fff7d2b9f71 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -28,6 +28,7 @@ SUBDIR += gnomeapplets SUBDIR += gnomecore SUBDIR += gnomelibs + SUBDIR += gtk-theme-switch SUBDIR += gvid SUBDIR += gyroscope SUBDIR += imwheel diff --git a/x11/gtk-theme-switch/Makefile b/x11/gtk-theme-switch/Makefile new file mode 100644 index 000000000000..86e66b0fa0a1 --- /dev/null +++ b/x11/gtk-theme-switch/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: gtk-theme-switch +# Date Created: 24 July 2000 +# Whom: Maxim Sobolev +# +# $FreeBSD$ +# + +PORTNAME= gtk-theme-switch +PORTVERSION= 0.3 +CATEGORIES= x11 +MASTER_SITES= http://www.muhri.net/ + +MAINTAINER= sobomax@FreeBSD.org + +LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk + +USE_X_PREFIX= yes + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${PREFIX}/share/gtk-theme-switch + ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/gtk-theme-switch +.endif + +.include diff --git a/x11/gtk-theme-switch/distinfo b/x11/gtk-theme-switch/distinfo new file mode 100644 index 000000000000..b388f09fa8e8 --- /dev/null +++ b/x11/gtk-theme-switch/distinfo @@ -0,0 +1 @@ +MD5 (gtk-theme-switch-0.3.tar.gz) = 3c62c57594141b44cee715fba5bbdb02 diff --git a/x11/gtk-theme-switch/files/patch-aa b/x11/gtk-theme-switch/files/patch-aa new file mode 100644 index 000000000000..5b7e3bbf0912 --- /dev/null +++ b/x11/gtk-theme-switch/files/patch-aa @@ -0,0 +1,24 @@ +--- Makefile.orig Mon Jul 24 19:42:17 2000 ++++ Makefile Mon Jul 24 19:46:23 2000 +@@ -1,7 +1,6 @@ +-GCC = gcc +-PREFIX=/usr/local +-CFLAGS = -I/usr/lib/glib/include -I/usr/X11R6/include +-LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm ++GCC = ${CC} ++CFLAGS += `${X11BASE}/bin/gtk12-config --cflags` ++LIBS = `${X11BASE}/bin/gtk12-config --libs` + VERSION = 0.3 + all : gthemeswitch + +@@ -12,8 +11,8 @@ + -rm gthemeswitch *~ + install: all + +- install -c gthemeswitch ${PREFIX}/bin +- install -c switch ${PREFIX}/bin ++ ${BSD_INSTALL_PROGRAM} gthemeswitch ${PREFIX}/bin ++ ${BSD_INSTALL_SCRIPT} switch ${PREFIX}/bin + + dist: clean + rm -rf /tmp/gtk-theme-switch-$(VERSION) diff --git a/x11/gtk-theme-switch/pkg-comment b/x11/gtk-theme-switch/pkg-comment new file mode 100644 index 000000000000..ea093ac393f3 --- /dev/null +++ b/x11/gtk-theme-switch/pkg-comment @@ -0,0 +1 @@ +A command line tool for switching GTK+ themes diff --git a/x11/gtk-theme-switch/pkg-descr b/x11/gtk-theme-switch/pkg-descr new file mode 100644 index 000000000000..803be7670dfe --- /dev/null +++ b/x11/gtk-theme-switch/pkg-descr @@ -0,0 +1,3 @@ +A command line tool for switching GTK+ themes. + +WWW: http://www.muhri.net/gthemeswitch.php3 diff --git a/x11/gtk-theme-switch/pkg-plist b/x11/gtk-theme-switch/pkg-plist new file mode 100644 index 000000000000..1453bf370d64 --- /dev/null +++ b/x11/gtk-theme-switch/pkg-plist @@ -0,0 +1,4 @@ +bin/gthemeswitch +bin/switch +share/gtk-theme-switch/README +@dirrm share/gtk-theme-switch diff --git a/x11/gtk-theme-switch2/Makefile b/x11/gtk-theme-switch2/Makefile new file mode 100644 index 000000000000..86e66b0fa0a1 --- /dev/null +++ b/x11/gtk-theme-switch2/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: gtk-theme-switch +# Date Created: 24 July 2000 +# Whom: Maxim Sobolev +# +# $FreeBSD$ +# + +PORTNAME= gtk-theme-switch +PORTVERSION= 0.3 +CATEGORIES= x11 +MASTER_SITES= http://www.muhri.net/ + +MAINTAINER= sobomax@FreeBSD.org + +LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk + +USE_X_PREFIX= yes + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${PREFIX}/share/gtk-theme-switch + ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/gtk-theme-switch +.endif + +.include diff --git a/x11/gtk-theme-switch2/distinfo b/x11/gtk-theme-switch2/distinfo new file mode 100644 index 000000000000..b388f09fa8e8 --- /dev/null +++ b/x11/gtk-theme-switch2/distinfo @@ -0,0 +1 @@ +MD5 (gtk-theme-switch-0.3.tar.gz) = 3c62c57594141b44cee715fba5bbdb02 diff --git a/x11/gtk-theme-switch2/files/patch-aa b/x11/gtk-theme-switch2/files/patch-aa new file mode 100644 index 000000000000..5b7e3bbf0912 --- /dev/null +++ b/x11/gtk-theme-switch2/files/patch-aa @@ -0,0 +1,24 @@ +--- Makefile.orig Mon Jul 24 19:42:17 2000 ++++ Makefile Mon Jul 24 19:46:23 2000 +@@ -1,7 +1,6 @@ +-GCC = gcc +-PREFIX=/usr/local +-CFLAGS = -I/usr/lib/glib/include -I/usr/X11R6/include +-LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm ++GCC = ${CC} ++CFLAGS += `${X11BASE}/bin/gtk12-config --cflags` ++LIBS = `${X11BASE}/bin/gtk12-config --libs` + VERSION = 0.3 + all : gthemeswitch + +@@ -12,8 +11,8 @@ + -rm gthemeswitch *~ + install: all + +- install -c gthemeswitch ${PREFIX}/bin +- install -c switch ${PREFIX}/bin ++ ${BSD_INSTALL_PROGRAM} gthemeswitch ${PREFIX}/bin ++ ${BSD_INSTALL_SCRIPT} switch ${PREFIX}/bin + + dist: clean + rm -rf /tmp/gtk-theme-switch-$(VERSION) diff --git a/x11/gtk-theme-switch2/pkg-comment b/x11/gtk-theme-switch2/pkg-comment new file mode 100644 index 000000000000..ea093ac393f3 --- /dev/null +++ b/x11/gtk-theme-switch2/pkg-comment @@ -0,0 +1 @@ +A command line tool for switching GTK+ themes diff --git a/x11/gtk-theme-switch2/pkg-descr b/x11/gtk-theme-switch2/pkg-descr new file mode 100644 index 000000000000..803be7670dfe --- /dev/null +++ b/x11/gtk-theme-switch2/pkg-descr @@ -0,0 +1,3 @@ +A command line tool for switching GTK+ themes. + +WWW: http://www.muhri.net/gthemeswitch.php3 diff --git a/x11/gtk-theme-switch2/pkg-plist b/x11/gtk-theme-switch2/pkg-plist new file mode 100644 index 000000000000..1453bf370d64 --- /dev/null +++ b/x11/gtk-theme-switch2/pkg-plist @@ -0,0 +1,4 @@ +bin/gthemeswitch +bin/switch +share/gtk-theme-switch/README +@dirrm share/gtk-theme-switch -- cgit v1.2.3