summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-11 04:30:38 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-11 04:30:38 +0800
commit4ed8cb3fbd2a602499a3c34c7e5fb5685e019ed3 (patch)
tree16fa8145e84f211d980a0b908dee8f4bef4d1ef4
parentb899feb460b077b9e28f21a768a22b9d0adb0743 (diff)
downloadmarcuscom-ports-4ed8cb3fbd2a602499a3c34c7e5fb5685e019ed3.tar
marcuscom-ports-4ed8cb3fbd2a602499a3c34c7e5fb5685e019ed3.tar.gz
marcuscom-ports-4ed8cb3fbd2a602499a3c34c7e5fb5685e019ed3.tar.bz2
marcuscom-ports-4ed8cb3fbd2a602499a3c34c7e5fb5685e019ed3.tar.lz
marcuscom-ports-4ed8cb3fbd2a602499a3c34c7e5fb5685e019ed3.tar.xz
marcuscom-ports-4ed8cb3fbd2a602499a3c34c7e5fb5685e019ed3.tar.zst
marcuscom-ports-4ed8cb3fbd2a602499a3c34c7e5fb5685e019ed3.zip
Fix the build with new gtk20.
Reported by: pointyhat-exp git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9748 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11-wm/selectwm/Makefile34
-rw-r--r--x11-wm/selectwm/distinfo3
-rw-r--r--x11-wm/selectwm/pkg-descr13
3 files changed, 50 insertions, 0 deletions
diff --git a/x11-wm/selectwm/Makefile b/x11-wm/selectwm/Makefile
new file mode 100644
index 000000000..d93ba3565
--- /dev/null
+++ b/x11-wm/selectwm/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: selectwm
+# Date created: 13 January 2004
+# Whom: Wesley Shields <wxs@csh.rit.edu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= selectwm
+PORTVERSION= 0.4.1
+PORTREVISION= 4
+CATEGORIES= x11-wm
+MASTER_SITES= http://ordiluc.net/selectwm/
+
+MAINTAINER= wxs@atarininja.org
+COMMENT= A GTK application to let you select a window manager when starting X
+
+MAN1= selectwm.1
+
+USE_BZIP2= yes
+USE_GETOPT_LONG= yes
+USE_GNOME= gtk20
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+
+PLIST_FILES= bin/selectwm share/locale/fr/LC_MESSAGES/selectwm.mo
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,-O2,${CFLAGS},g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's,^CFLAGS =,CFLAGS +=,' -e 's,-O2,,' \
+ ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|#define G.*DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/src/define.h
+
+.include <bsd.port.mk>
diff --git a/x11-wm/selectwm/distinfo b/x11-wm/selectwm/distinfo
new file mode 100644
index 000000000..4cebc050d
--- /dev/null
+++ b/x11-wm/selectwm/distinfo
@@ -0,0 +1,3 @@
+MD5 (selectwm-0.4.1.tar.bz2) = 160199961c552922b5880ebf7e201c3c
+SHA256 (selectwm-0.4.1.tar.bz2) = 5ba49d5303f6613b829c88098b29b78e3d555d3a69a5c88a73aa4deaf82729a4
+SIZE (selectwm-0.4.1.tar.bz2) = 151454
diff --git a/x11-wm/selectwm/pkg-descr b/x11-wm/selectwm/pkg-descr
new file mode 100644
index 000000000..4fdecd3f8
--- /dev/null
+++ b/x11-wm/selectwm/pkg-descr
@@ -0,0 +1,13 @@
+This is a small application (using GTK+) which lets you select your window
+manager. It looks for a file named .selectwmrc in the user's directory
+which contains a list of window managers.
+
+When you start X it should show a list which lets you choose your window
+manager (by double clicking on it with the mouse or with the arrow keys
+and the return or space key).
+
+WWW: http://ordiluc.net/selectwm/
+
+-- WXS
+Wesley Shields
+wxs@csh.rit.edu