aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/Makefile1
-rw-r--r--x11/gtk-theme-switch2/Makefile26
-rw-r--r--x11/gtk-theme-switch2/distinfo6
-rw-r--r--x11/gtk-theme-switch2/files/patch-aa33
-rw-r--r--x11/gtk-theme-switch2/pkg-descr4
-rw-r--r--x11/gtk-theme-switch2/pkg-plist3
6 files changed, 16 insertions, 57 deletions
diff --git a/x11/Makefile b/x11/Makefile
index cc013dc85ad2..a83366634380 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -122,6 +122,7 @@
SUBDIR += gsynaptics
SUBDIR += gtk-launch
SUBDIR += gtk-theme-switch
+ SUBDIR += gtk-theme-switch2
SUBDIR += gtk-themepreview
SUBDIR += gtkchtheme
SUBDIR += gtkterm2
diff --git a/x11/gtk-theme-switch2/Makefile b/x11/gtk-theme-switch2/Makefile
index 8a38635d2868..8978ae775777 100644
--- a/x11/gtk-theme-switch2/Makefile
+++ b/x11/gtk-theme-switch2/Makefile
@@ -1,29 +1,23 @@
-# New ports collection makefile for: gtk-theme-switch
-# Date Created: 24 July 2000
-# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+# New ports collection makefile for: gtk-theme-switch2
+# Date Created: 4 December 2007
+# Whom: Oleg Pudeyev <oleg@bsdpower.com>
#
# $FreeBSD$
#
PORTNAME= gtk-theme-switch
-PORTVERSION= 1.0.1
-PORTREVISION= 4
+DISTVERSION= 2.0.0rc2
CATEGORIES= x11
MASTER_SITES= http://www.muhri.net/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A command line tool for switching GTK+ themes
+MAINTAINER= oleg@bsdpower.com
+COMMENT= A command line tool for switching GTK+ 2.0 themes
-USE_X_PREFIX= yes
-USE_GNOME= gtk12
+USE_XORG= x11
+USE_GNOME= gtk20
USE_GMAKE= yes
-MAN1= gtk-theme-switch.1
-
-.if !defined(NOPORTDOCS)
-post-install:
- ${MKDIR} ${PREFIX}/share/gtk-theme-switch
- ${INSTALL_MAN} ${WRKSRC}/readme ${PREFIX}/share/gtk-theme-switch/README
-.endif
+MAN1= switch2.1
+PLIST_FILES= bin/switch2
.include <bsd.port.mk>
diff --git a/x11/gtk-theme-switch2/distinfo b/x11/gtk-theme-switch2/distinfo
index adf5248a1c9f..035ade61adfc 100644
--- a/x11/gtk-theme-switch2/distinfo
+++ b/x11/gtk-theme-switch2/distinfo
@@ -1,3 +1,3 @@
-MD5 (gtk-theme-switch-1.0.1.tar.gz) = a1ce98489cbe410c5483e155e5834c46
-SHA256 (gtk-theme-switch-1.0.1.tar.gz) = 86a1bd848ae435b359b86e57d7e54c225c4de714f32f924c96f1ea8d189c885d
-SIZE (gtk-theme-switch-1.0.1.tar.gz) = 12886
+MD5 (gtk-theme-switch-2.0.0rc2.tar.gz) = f51b254fb347a86feef12db4bd76be6f
+SHA256 (gtk-theme-switch-2.0.0rc2.tar.gz) = d8c455b77b703f6c67a8bcbd5a1fd0679dd04fbe99d6afa1322e7c1f750a4565
+SIZE (gtk-theme-switch-2.0.0rc2.tar.gz) = 14046
diff --git a/x11/gtk-theme-switch2/files/patch-aa b/x11/gtk-theme-switch2/files/patch-aa
deleted file mode 100644
index c8e6569c3131..000000000000
--- a/x11/gtk-theme-switch2/files/patch-aa
+++ /dev/null
@@ -1,33 +0,0 @@
-
-$FreeBSD$
-
---- Makefile.orig Fri Apr 13 17:57:24 2001
-+++ Makefile Tue Apr 17 09:31:20 2001
-@@ -1,7 +1,8 @@
--GCC = cc
--PREFIX=/usr/local
--CFLAGS = -O2 -Wall $(shell gtk-config --cflags)
--LIBS = $(shell gtk-config --libs)
-+GCC = ${CC}
-+PREFIX?=/usr/local
-+GTK_CONFIG?=gtk-config
-+CFLAGS += -Wall $(shell $(GTK_CONFIG) --cflags)
-+LIBS = $(shell $(GTK_CONFIG) --libs)
- VERSION = 1.0.1
- all: switch
-
-@@ -12,11 +13,10 @@
- -rm -f switch *~
-
- install: all
-- strip switch
- mkdir -p ${PREFIX}/bin
-- mkdir -p ${PREFIX}/man
-- install -c switch ${PREFIX}/bin
-- install -c switch.1 ${PREFIX}/man
-+ mkdir -p ${PREFIX}/man/man1
-+ $(BSD_INSTALL_PROGRAM) switch ${PREFIX}/bin/gtk-theme-switch
-+ $(BSD_INSTALL_MAN) switch.1 ${PREFIX}/man/man1/gtk-theme-switch.1
-
- dist: clean
- rm -rf /tmp/gtk-theme-switch-$(VERSION)
diff --git a/x11/gtk-theme-switch2/pkg-descr b/x11/gtk-theme-switch2/pkg-descr
index 803be7670dfe..5ea17204b2bb 100644
--- a/x11/gtk-theme-switch2/pkg-descr
+++ b/x11/gtk-theme-switch2/pkg-descr
@@ -1,3 +1,3 @@
-A command line tool for switching GTK+ themes.
+A command line tool for switching GTK+ 2.0 themes.
-WWW: http://www.muhri.net/gthemeswitch.php3
+WWW: http://www.muhri.net/nav.php3?node=gts
diff --git a/x11/gtk-theme-switch2/pkg-plist b/x11/gtk-theme-switch2/pkg-plist
deleted file mode 100644
index ee0e4a7fd809..000000000000
--- a/x11/gtk-theme-switch2/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/gtk-theme-switch
-share/gtk-theme-switch/README
-@dirrm share/gtk-theme-switch