aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-25 16:51:49 +0800
committerpetef <petef@FreeBSD.org>2001-11-25 16:51:49 +0800
commit755cf7b80db2ead98975cd6150b7e69a4a2c4227 (patch)
tree127639a4a2cee715d8107743df06458979e99a81 /x11
parent6f03bd1d8f9d0a55a7daab331442d42d13670e8c (diff)
downloadfreebsd-ports-gnome-755cf7b80db2ead98975cd6150b7e69a4a2c4227.tar.gz
freebsd-ports-gnome-755cf7b80db2ead98975cd6150b7e69a4a2c4227.tar.zst
freebsd-ports-gnome-755cf7b80db2ead98975cd6150b7e69a4a2c4227.zip
Add keylaunch-1.3.0, an X utility for binding commands to a hot key
PR: 32061 Submitted by: Mike Meyer <mwm@mired.org>
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/keylaunch/Makefile34
-rw-r--r--x11/keylaunch/distinfo1
-rw-r--r--x11/keylaunch/files/patch-Makefile10
-rw-r--r--x11/keylaunch/files/pkg-message.in2
-rw-r--r--x11/keylaunch/pkg-comment1
-rw-r--r--x11/keylaunch/pkg-descr1
-rw-r--r--x11/keylaunch/pkg-plist2
8 files changed, 52 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index eb3bdfdcdf03..d6e81114a6d2 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -49,6 +49,7 @@
SUBDIR += kdebase2
SUBDIR += kdelibs11
SUBDIR += kdelibs2
+ SUBDIR += keylaunch
SUBDIR += kvidtune
SUBDIR += kworldwatch
SUBDIR += launch.app
diff --git a/x11/keylaunch/Makefile b/x11/keylaunch/Makefile
new file mode 100644
index 000000000000..4eac39aa4db1
--- /dev/null
+++ b/x11/keylaunch/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: keylaunch
+# Date created: Sat Nov 17 10:10:07 CDT 2001
+# Whom: mwm@mired.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= keylaunch
+PORTVERSION= 1.3.0
+CATEGORIES= x11
+MASTER_SITES= http://www.kensden.pwp.blueyonder.co.uk/Oroborus/files/
+
+MAINTAINER= mwm@mired.org
+
+WRKSRC= ${WRKDIR}/keylaunch
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+
+PKGMESSAGE= ${WRKSRC}/pkg-message
+
+post-patch:
+ @${PERL} -pi -e 's,%%X11BASE%%,${X11BASE},g' ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/keylaunch ${PREFIX}/bin
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example_rc ${EXAMPLESDIR}/keylaunch.rc
+
+post-install:
+ @${SED} -e 's;/usr/X11R6;${PREFIX};g' < ${FILESDIR}/pkg-message.in > \
+ ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/x11/keylaunch/distinfo b/x11/keylaunch/distinfo
new file mode 100644
index 000000000000..6485115681ea
--- /dev/null
+++ b/x11/keylaunch/distinfo
@@ -0,0 +1 @@
+MD5 (keylaunch-1.3.0.tar.gz) = f4f7e73d84a635b5aa2fb1738a3f965f
diff --git a/x11/keylaunch/files/patch-Makefile b/x11/keylaunch/files/patch-Makefile
new file mode 100644
index 000000000000..adbf494bb8dd
--- /dev/null
+++ b/x11/keylaunch/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig Mon May 21 17:23:17 2001
++++ Makefile Sat Nov 17 11:46:47 2001
+@@ -1,6 +1,4 @@
+-CC = gcc
+-CFLAGS = -g -O2 -Wall
+-XROOT = /usr/X11
++XROOT = %%X11BASE%%
+ INCLUDES = -I$(XROOT)/include
+ LIBS = -lX11
+ LDPATH = -L$(XROOT)/lib
diff --git a/x11/keylaunch/files/pkg-message.in b/x11/keylaunch/files/pkg-message.in
new file mode 100644
index 000000000000..c62987a1e76b
--- /dev/null
+++ b/x11/keylaunch/files/pkg-message.in
@@ -0,0 +1,2 @@
+See /usr/X11R6/share/examples/keylaunch/keylaunch.rc for a sample
+configuration.
diff --git a/x11/keylaunch/pkg-comment b/x11/keylaunch/pkg-comment
new file mode 100644
index 000000000000..21838258bc8e
--- /dev/null
+++ b/x11/keylaunch/pkg-comment
@@ -0,0 +1 @@
+An X utility for binding commands to a hot key
diff --git a/x11/keylaunch/pkg-descr b/x11/keylaunch/pkg-descr
new file mode 100644
index 000000000000..cf74f595136f
--- /dev/null
+++ b/x11/keylaunch/pkg-descr
@@ -0,0 +1 @@
+An X utility for binding commands to a hot key.
diff --git a/x11/keylaunch/pkg-plist b/x11/keylaunch/pkg-plist
new file mode 100644
index 000000000000..41a57f64f170
--- /dev/null
+++ b/x11/keylaunch/pkg-plist
@@ -0,0 +1,2 @@
+bin/keylaunch
+share/examples/keylaunch/keylaunch.rc