aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-07-25 01:27:13 +0800
committersobomax <sobomax@FreeBSD.org>2000-07-25 01:27:13 +0800
commite3134abe9f41f8e283f21ad3ef96c949ce658bbb (patch)
treef477c8a3d56466f9814e2797b7fea30e023ac2cc /x11
parent663f1ee9022a4a5531aa2d839be1dc54772fe9e2 (diff)
downloadfreebsd-ports-gnome-e3134abe9f41f8e283f21ad3ef96c949ce658bbb.tar.gz
freebsd-ports-gnome-e3134abe9f41f8e283f21ad3ef96c949ce658bbb.tar.zst
freebsd-ports-gnome-e3134abe9f41f8e283f21ad3ef96c949ce658bbb.zip
Add gtk-theme-switch - an command line utility to switch GTK+ themes.
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/gtk-theme-switch/Makefile26
-rw-r--r--x11/gtk-theme-switch/distinfo1
-rw-r--r--x11/gtk-theme-switch/files/patch-aa24
-rw-r--r--x11/gtk-theme-switch/pkg-comment1
-rw-r--r--x11/gtk-theme-switch/pkg-descr3
-rw-r--r--x11/gtk-theme-switch/pkg-plist4
-rw-r--r--x11/gtk-theme-switch2/Makefile26
-rw-r--r--x11/gtk-theme-switch2/distinfo1
-rw-r--r--x11/gtk-theme-switch2/files/patch-aa24
-rw-r--r--x11/gtk-theme-switch2/pkg-comment1
-rw-r--r--x11/gtk-theme-switch2/pkg-descr3
-rw-r--r--x11/gtk-theme-switch2/pkg-plist4
13 files changed, 119 insertions, 0 deletions
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 <sobomax@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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 <sobomax@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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