diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-07-24 17:27:13 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-07-24 17:27:13 +0000 |
commit | a22453092df8f1b5ce0f8a05dd28cfc9558ea563 (patch) | |
tree | 208912d8e10b3df972b597757aa196f2ba90ec31 /x11/gtk-theme-switch | |
parent | Use sobomax@FreeBSD.org as my e-mail. (diff) |
Add gtk-theme-switch - an command line utility to switch GTK+ themes.
Notes
Notes:
svn path=/head/; revision=31001
Diffstat (limited to 'x11/gtk-theme-switch')
-rw-r--r-- | x11/gtk-theme-switch/Makefile | 26 | ||||
-rw-r--r-- | x11/gtk-theme-switch/distinfo | 1 | ||||
-rw-r--r-- | x11/gtk-theme-switch/files/patch-aa | 24 | ||||
-rw-r--r-- | x11/gtk-theme-switch/pkg-comment | 1 | ||||
-rw-r--r-- | x11/gtk-theme-switch/pkg-descr | 3 | ||||
-rw-r--r-- | x11/gtk-theme-switch/pkg-plist | 4 |
6 files changed, 59 insertions, 0 deletions
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 |