summaryrefslogtreecommitdiff
path: root/x11/wmoldmenu2new
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-09-09 20:52:43 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-09-09 20:52:43 +0000
commit14982c01867196008bbb340d197434ce47f3230a (patch)
treeeeaff3629ff035058e4fd39d89e250f7747d2dd7 /x11/wmoldmenu2new
parentUpgrade to 6.0.0. (diff)
Add wmoldmenu2new 20020609,
script to convert WindowMaker RootMenu menus to new PropList format. PR: ports/42474 Submitted by: Bruce M Simpson <bms@spc.org>
Notes
Notes: svn path=/head/; revision=65954
Diffstat (limited to 'x11/wmoldmenu2new')
-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
6 files changed, 56 insertions, 0 deletions
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