summaryrefslogtreecommitdiff
path: root/x11/docker
diff options
context:
space:
mode:
Diffstat (limited to 'x11/docker')
-rw-r--r--x11/docker/DESCR10
-rw-r--r--x11/docker/Makefile26
-rw-r--r--x11/docker/PLIST2
-rw-r--r--x11/docker/distinfo6
-rw-r--r--x11/docker/patches/patch-aa16
5 files changed, 60 insertions, 0 deletions
diff --git a/x11/docker/DESCR b/x11/docker/DESCR
new file mode 100644
index 00000000000..2cf05f665d6
--- /dev/null
+++ b/x11/docker/DESCR
@@ -0,0 +1,10 @@
+Docker is a docking application (WindowMaker dock app) which acts as a system
+tray for KDE and GNOME2. It can be used to replace the panel in either
+environment, allowing you to have a system tray without running the KDE/GNOME
+panel or environment.
+
+Docker is designed to work with Openbox 2, but it should work fine in any
+window manager that supports WindowMaker dock apps.
+
+If you running WindowMaker or otherwise and experiencing problems, you should
+try using the -wmaker option to make docker keep a fixed size.
diff --git a/x11/docker/Makefile b/x11/docker/Makefile
new file mode 100644
index 00000000000..85f851d2978
--- /dev/null
+++ b/x11/docker/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/08/13 11:42:55 ahoka Exp $
+#
+
+DISTNAME= docker-1.5
+CATEGORIES= x11
+MASTER_SITES= http://offload1.icculus.org/openbox/2/docker/
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+MAINTAINER= ahoka@NetBSD.org
+HOMEPAGE= http://icculus.org/openbox/2/docker/
+COMMENT= WindowMaker dock app which acts as a system tray
+
+USE_TOOLS+= pkg-config gmake
+
+MAKE_ENV+= PREFIX=${DESTDIR}${PREFIX}
+MAKE_ENV+= XLIBPATH=${X11BASE}
+
+INSTALLATION_DIRS+= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/docker ${DESTDIR}${PREFIX}/bin
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/docker/PLIST b/x11/docker/PLIST
new file mode 100644
index 00000000000..43ecb2f9a1e
--- /dev/null
+++ b/x11/docker/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/08/13 11:42:55 ahoka Exp $
+bin/docker
diff --git a/x11/docker/distinfo b/x11/docker/distinfo
new file mode 100644
index 00000000000..d35ab91f6b6
--- /dev/null
+++ b/x11/docker/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/08/13 11:42:55 ahoka Exp $
+
+SHA1 (docker-1.5.tar.gz) = aff3e0c6103a7b1f190d4207868ae7c28d267304
+RMD160 (docker-1.5.tar.gz) = d36883acf4de5c2e97d478a7d29cb66645189748
+Size (docker-1.5.tar.gz) = 14863 bytes
+SHA1 (patch-aa) = be91c68b6b9e16434e11b0567338ee9fa2b040eb
diff --git a/x11/docker/patches/patch-aa b/x11/docker/patches/patch-aa
new file mode 100644
index 00000000000..3fcce670aa1
--- /dev/null
+++ b/x11/docker/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/08/13 11:42:55 ahoka Exp $
+
+--- Makefile.orig 2002-11-20 11:20:49.000000000 +0100
++++ Makefile
+@@ -5,9 +5,9 @@
+ #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+
+ # Change this PREFIX to where you want docker to be installed
+-PREFIX=/usr/local
++PREFIX?=/usr/local
+ # Change this XLIBPATH to point to your X11 development package's installation
+-XLIBPATH=/usr/X11R6/lib
++XLIBPATH?=/usr/X11R6/lib
+
+ # Sets some flags for stricter compiling
+ CFLAGS=-pedantic -Wall -W -O