aboutsummaryrefslogtreecommitdiff
path: root/x11/gtk-theme-switch2
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-24 17:27:13 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-24 17:27:13 +0000
commita22453092df8f1b5ce0f8a05dd28cfc9558ea563 (patch)
tree208912d8e10b3df972b597757aa196f2ba90ec31 /x11/gtk-theme-switch2
parentfc05815ebb1d1f7c52a96b1a0c220fbbd0ff3684 (diff)
downloadports-a22453092df8f1b5ce0f8a05dd28cfc9558ea563.tar.gz
ports-a22453092df8f1b5ce0f8a05dd28cfc9558ea563.zip
Notes
Diffstat (limited to 'x11/gtk-theme-switch2')
-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
6 files changed, 59 insertions, 0 deletions
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