aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2002-09-10 04:52:43 +0800
committerobraun <obraun@FreeBSD.org>2002-09-10 04:52:43 +0800
commitd5e0e1ad0b16ecf78ae14c4ea528918e44df9ff5 (patch)
tree55a55fedf4d2f43050885ced744826241006eb0f /x11
parent82626b45c89060a84b66eb7910c7585c3be48c3c (diff)
downloadfreebsd-ports-gnome-d5e0e1ad0b16ecf78ae14c4ea528918e44df9ff5.tar.gz
freebsd-ports-gnome-d5e0e1ad0b16ecf78ae14c4ea528918e44df9ff5.tar.zst
freebsd-ports-gnome-d5e0e1ad0b16ecf78ae14c4ea528918e44df9ff5.zip
Add wmoldmenu2new 20020609,
script to convert WindowMaker RootMenu menus to new PropList format. PR: ports/42474 Submitted by: Bruce M Simpson <bms@spc.org>
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/wmoldmenu2new/Makefile27
-rw-r--r--x11/wmoldmenu2new/distinfo1
-rw-r--r--x11/wmoldmenu2new/files/patch-wmoldmenu2new11
-rw-r--r--x11/wmoldmenu2new/pkg-comment1
-rw-r--r--x11/wmoldmenu2new/pkg-descr15
-rw-r--r--x11/wmoldmenu2new/pkg-plist1
7 files changed, 57 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 9359f8dcb7eb..7e5cccab6afa 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -109,6 +109,7 @@
SUBDIR += wmfstatus
SUBDIR += wmmatrix
SUBDIR += wmmenu
+ SUBDIR += wmoldmenu2new
SUBDIR += wrapper
SUBDIR += wscan
SUBDIR += wterm
diff --git a/x11/wmoldmenu2new/Makefile b/x11/wmoldmenu2new/Makefile
new file mode 100644
index 000000000000..c9cc2f255b05
--- /dev/null
+++ b/x11/wmoldmenu2new/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: wm-oldmenu2new
+# Date created: 6 September 2002
+# Whom: Bruce M Simpson <bms@spc.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmoldmenu2new
+PORTVERSION= 20020609
+CATEGORIES= x11
+MASTER_SITES= http://largo.windowmaker.org/files/
+DISTNAME= wm-oldmenu2new
+EXTRACT_SUFX= .gz
+
+MAINTAINER= bms@spc.org
+
+USE_X_PREFIX= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+EXTRACT_AFTER_ARGS= > ${PORTNAME}
+
+NOMAN= # defined
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/x11/wmoldmenu2new/distinfo b/x11/wmoldmenu2new/distinfo
new file mode 100644
index 000000000000..c3186681961e
--- /dev/null
+++ b/x11/wmoldmenu2new/distinfo
@@ -0,0 +1 @@
+MD5 (wm-oldmenu2new.gz) = 3786e5754904cd2e59c3263482e662d5
diff --git a/x11/wmoldmenu2new/files/patch-wmoldmenu2new b/x11/wmoldmenu2new/files/patch-wmoldmenu2new
new file mode 100644
index 000000000000..855ec4d04edf
--- /dev/null
+++ b/x11/wmoldmenu2new/files/patch-wmoldmenu2new
@@ -0,0 +1,11 @@
+--- wmoldmenu2new.orig Fri Sep 6 12:07:25 2002
++++ wmoldmenu2new Fri Sep 6 12:07:34 2002
+@@ -95,7 +95,7 @@
+ #
+ # Given the set -e, the exit 1 shouldn't be needed. But it is, on my NeXT!
+ #
+-$CC -E -I. $T-c > $T+c || exit 1
++$CC -E -I. -x c $T-c > $T+c || exit 1
+ sed '/^#/d;/^[ ]*$/d' $T+c > $T
+ rm $T-c $T+c
+ set +e
diff --git a/x11/wmoldmenu2new/pkg-comment b/x11/wmoldmenu2new/pkg-comment
new file mode 100644
index 000000000000..b920905204ac
--- /dev/null
+++ b/x11/wmoldmenu2new/pkg-comment
@@ -0,0 +1 @@
+Script to convert WindowMaker RootMenu menus to new PropList format
diff --git a/x11/wmoldmenu2new/pkg-descr b/x11/wmoldmenu2new/pkg-descr
new file mode 100644
index 000000000000..218bde9514d1
--- /dev/null
+++ b/x11/wmoldmenu2new/pkg-descr
@@ -0,0 +1,15 @@
+From the web site:
+
+* wm-oldmenu2new is a script to convert from old-style Window Maker menu
+ file to the new PropertyList style of the WMRootMenu for use with WPrefs.
+
+ Thanks to Luke Kendall and Toby J Sargeant.
+
+Note that this script has to be run from within your home directory.
+Once you've done this, you should be able to click 'Yes, Discard and Update'
+within WMPrefs' Menu page to switch to the new PropList menu format.
+
+WWW: http://largo.windowmaker.org/files.php#wm-oldmenu2new
+
+Bruce
+bms@spc.org
diff --git a/x11/wmoldmenu2new/pkg-plist b/x11/wmoldmenu2new/pkg-plist
new file mode 100644
index 000000000000..342e9709af16
--- /dev/null
+++ b/x11/wmoldmenu2new/pkg-plist
@@ -0,0 +1 @@
+bin/wmoldmenu2new