summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-13 00:24:12 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-13 00:24:12 +0000
commit355ce52351a0c0e8e920063e28d78136f1c8b318 (patch)
tree4e9aae495a4f8a671b86f0183cdc9abe2cf230b7 /x11
parentUpdate devel/p5-Log-Log4perl to 0.29 (diff)
Move wmshutdown from ports/x11 to ports/sysutils on danfe's suggestion.
Notes
Notes: svn path=/head/; revision=75414
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/wmshutdown/Makefile33
-rw-r--r--x11/wmshutdown/files/patch-aa42
-rw-r--r--x11/wmshutdown/files/patch-ab20
-rw-r--r--x11/wmshutdown/files/patch-ac29
-rw-r--r--x11/wmshutdown/pkg-comment1
-rw-r--r--x11/wmshutdown/pkg-descr7
-rw-r--r--x11/wmshutdown/pkg-plist5
8 files changed, 0 insertions, 138 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 3920aa4fa9ef..bd9631679af8 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -113,7 +113,6 @@
SUBDIR += wmmatrix
SUBDIR += wmmenu
SUBDIR += wmoldmenu2new
- SUBDIR += wmshutdown
SUBDIR += wrapper
SUBDIR += wscan
SUBDIR += wterm
diff --git a/x11/wmshutdown/Makefile b/x11/wmshutdown/Makefile
deleted file mode 100644
index 996fe33043d0..000000000000
--- a/x11/wmshutdown/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# New ports collection makefile for: wmshutdown
-# Date created: 26 November 2002
-# Whom: nishida
-#
-# $FreeBSD$
-#
-
-PORTNAME= wmShutdown
-PORTVERSION= 0.2
-CATEGORIES= x11 windowmaker
-MASTER_SITES= http://grad.icmc.usp.br/~rva/pkgs/
-
-MAINTAINER= kaname@vamp.jpn.ph
-
-USE_GNOMENG= yes
-USE_GNOME= gtk12
-USE_GMAKE= yes
-USE_X_PREFIX= yes
-USE_XPM= yes
-
-do-install:
- @${ECHO} "wmShutdown -- Rafael V. Aroca <rafael@linuxqos.cjb.net>"
- @${MKDIR} ${PREFIX}/share/wmShutdown/pixmaps && ${CHMOD} a+rx ${PREFIX}/share/wmShutdown/pixmaps
- @${INSTALL_PROGRAM} ${WRKSRC}/wmShutdown ${PREFIX}/bin
- @${INSTALL_PROGRAM} -g wheel -o root ${WRKSRC}/Shutdown ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/Shutdown ${PREFIX}/bin
- @${CHMOD} +s ${PREFIX}/bin/Shutdown
- @${INSTALL_DATA} ${WRKSRC}/wmShutdown.xpm ${PREFIX}/share/wmShutdown/pixmaps/wmShutdown.xpm
-
-post-install:
- @${ECHO} "===> Installed. Just type wmShutdown to use it"
-
-.include <bsd.port.mk>
diff --git a/x11/wmshutdown/files/patch-aa b/x11/wmshutdown/files/patch-aa
deleted file mode 100644
index 5754fcf9bab6..000000000000
--- a/x11/wmshutdown/files/patch-aa
+++ /dev/null
@@ -1,42 +0,0 @@
---- Makefile Tue Nov 26 20:56:14 2002
-+++ Makefile Sun Dec 1 23:15:33 2002
-@@ -1,29 +1,13 @@
--all:
-- @echo "wmShutdown version 0.1 - Rafael V. Aroca <rafael@linuxqos.cjb.net>"
-- @echo "Order of makes to install: dock, shutdown, install"
--
--clean:
-- rm -f wmShutdown.o
-- rm -f wmShutdown
-- rm -f Shutdown
-+GTK-CONFIG= gtk-config
-+GTKCFLAGS= `$(GTK-CONFIG) --cflags`
-+GTKLIBS= `$(GTK-CONFIG) --libs`
-
--install:
-- install wmShutdown /usr/local/bin
-- install wmShutdown.xpm /usr/share/pixmaps/
-- install -g root -o root Shutdown /usr/local/bin
-- chmod +s /sbin/shutdown
-- chmod +s /usr/local/bin/Shutdown
-- @echo Installed. Just type wmShutdown to use it
--
--uninstall:
-- rm -f /usr/local/bin/wmShutdown
-- rm -f /usr/local/bin/Shutdown
-- rm -f /usr/share/pixmaps/wmShutdown.xpm
-- @echo ":-( Uninstalled."
-+all: wmShutdown Shutdown
-+ @echo "wmShutdown version 0.1 - Rafael V. Aroca <rafael@linuxqos.cjb.net>"
-
--dock: wmShutdown.c
-- $(CC) -c -o wmShutdown.o wmShutdown.c `gtk-config --cflags`
-- $(CC) -o wmShutdown wmShutdown.o `gtk-config --libs`
-+wmShutdown: wmShutdown.c
-+ $(CC) -c -o wmShutdown.o wmShutdown.c $(GTKCFLAGS)
-+ $(CC) -o wmShutdown wmShutdown.o $(GTKLIBS)
-
--shutdown: shutdown.c
-- $(CC) -o Shutdown shutdown.c
-+Shutdown: shutdown.c
-+ $(CC) -o Shutdown shutdown.c
diff --git a/x11/wmshutdown/files/patch-ab b/x11/wmshutdown/files/patch-ab
deleted file mode 100644
index 6d0bc1fe3b8f..000000000000
--- a/x11/wmshutdown/files/patch-ab
+++ /dev/null
@@ -1,20 +0,0 @@
---- shutdown.c Sun Dec 1 23:28:23 2002
-+++ shutdown.c Sun Dec 1 23:29:16 2002
-@@ -18,7 +18,7 @@
- FILE *output;
-
- printf("Rebooting...\n");
-- output = popen("/sbin/shutdown now -r", "r");
-+ output = popen("/sbin/shutdown -r now", "r");
- teste = (char*) fgetc(output);
- while ((int)teste != EOF) {
- printf("%c", teste);
-@@ -32,7 +32,7 @@
- FILE *output;
-
- printf("Halting...\n");
-- output = popen("/sbin/shutdown now -h", "r");
-+ output = popen("/sbin/shutdown -h now", "r");
- teste = (char*) fgetc(output);
- while ((int)teste != EOF) {
- printf("%c", teste);
diff --git a/x11/wmshutdown/files/patch-ac b/x11/wmshutdown/files/patch-ac
deleted file mode 100644
index 6472694ea348..000000000000
--- a/x11/wmshutdown/files/patch-ac
+++ /dev/null
@@ -1,29 +0,0 @@
---- wmShutdown.c.orig Sun Dec 1 23:53:12 2002
-+++ wmShutdown.c Mon Dec 2 00:03:42 2002
-@@ -57,7 +57,7 @@
- FILE *output;
- char *teste;
-
-- output = popen("/usr/local/bin/Shutdown -h", "r");
-+ output = popen("/usr/X11R6/bin/Shutdown -h", "r");
- teste = (char*) fgetc(output);
- while ((int)teste != EOF) {
- g_print("%c", teste);
-@@ -70,7 +70,7 @@
- FILE *output;
- char *teste;
-
-- output = popen("/usr/local/bin/Shutdown -r", "r");
-+ output = popen("/usr/X11R6/bin/Shutdown -r", "r");
- teste = (char*) fgetc(output);
- while ((int)teste != EOF) {
- g_print("%c", teste);
-@@ -148,7 +148,7 @@
- gtk_widget_realize(dockArea);
-
- icon = (gpointer) gdk_pixmap_create_from_xpm (gtkiw->window, &mask,
-- NULL, "/usr/share/pixmaps/wmShutdown.xpm");
-+ NULL, "/usr/X11R6/share/wmShutdown/pixmaps/wmShutdown.xpm");
-
- pixmap = gtk_pixmap_new((gpointer) icon, mask);
- gtk_widget_show(pixmap);
diff --git a/x11/wmshutdown/pkg-comment b/x11/wmshutdown/pkg-comment
deleted file mode 100644
index fd528bd2b411..000000000000
--- a/x11/wmshutdown/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Window Maker dock application to shutdown or reboot
diff --git a/x11/wmshutdown/pkg-descr b/x11/wmshutdown/pkg-descr
deleted file mode 100644
index d339e89fe56e..000000000000
--- a/x11/wmshutdown/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-wmShutdown is a Window Maker dock application that allows you to shutdown
-or reboot your machine just by clicking a button on your desktop.
-
-WWW: http://grad.icmc.usp.br/~rva/wmShutdown.html
-
--- Nishida
-kaname@vamp.jpn.ph
diff --git a/x11/wmshutdown/pkg-plist b/x11/wmshutdown/pkg-plist
deleted file mode 100644
index 908d25623c43..000000000000
--- a/x11/wmshutdown/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/wmShutdown
-bin/Shutdown
-share/wmShutdown/pixmaps/wmShutdown.xpm
-@dirrm share/wmShutdown/pixmaps
-@dirrm share/wmShutdown