summaryrefslogtreecommitdiff
path: root/x11/padkey
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-03-01 06:57:03 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-03-01 06:57:03 +0000
commit88e717a2ee048f06f99a77c97e7ce772c4360b85 (patch)
tree90c4dabd1bda8e720c06e9c0b4cb582f61d8113e /x11/padkey
parent- The phpbb developer group announces there are 2 security problems (diff)
Add padkey, a program that sends keystrokes to X according to buttons
being pressed on an SNES pad connected to the parallel port. PR: ports/75285 Submitted by: Travis Poppe <tlp@LiquidX.org>
Notes
Notes: svn path=/head/; revision=130061
Diffstat (limited to 'x11/padkey')
-rw-r--r--x11/padkey/Makefile40
-rw-r--r--x11/padkey/distinfo2
-rw-r--r--x11/padkey/pkg-descr13
3 files changed, 55 insertions, 0 deletions
diff --git a/x11/padkey/Makefile b/x11/padkey/Makefile
new file mode 100644
index 000000000000..87adebb718a9
--- /dev/null
+++ b/x11/padkey/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: padkey
+# Date created: 19 Dec 2004
+# Whom: Travis Poppe <tlp@liquidx.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= padkey
+PORTVERSION= 0.2
+CATEGORIES= x11 games
+MASTER_SITES= http://www.liquidx.org/padkey/releases/dist/
+DISTNAME= bsd${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= tlp@liquidx.org
+COMMENT= Use an authentic SNES controller to play games
+
+USE_GZIP= yes
+USE_XLIB= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+
+.if defined(NOPORTDOCS)
+PLIST_FILES= bin/padkey
+.else
+PLIST_FILES= bin/padkey %%DOCSDIR%%/CREDITS %%DOCSDIR%%/README
+PLIST_DIRS= %%DOCSDIR%%
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/X11R6/|${X11BASE}/|' ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/padkey ${PREFIX}/bin/padkey
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}/CREDITS
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11/padkey/distinfo b/x11/padkey/distinfo
new file mode 100644
index 000000000000..e965586f6113
--- /dev/null
+++ b/x11/padkey/distinfo
@@ -0,0 +1,2 @@
+MD5 (bsdpadkey-0.2.tar.gz) = f08e360f3b4f322500d7a845cc5bdcd0
+SIZE (bsdpadkey-0.2.tar.gz) = 5146
diff --git a/x11/padkey/pkg-descr b/x11/padkey/pkg-descr
new file mode 100644
index 000000000000..650b0e7c79dd
--- /dev/null
+++ b/x11/padkey/pkg-descr
@@ -0,0 +1,13 @@
+BSD PadKey is a small program for FreeBSD that sends keys to your X display
+according to which buttons are being pressed on a modified SNES pad connected
+to the parallel port.
+
+In short, PadKey allows you to play games on FreeBSD with an authentic SNES
+controller.
+
+Note: This version only works with ONE pad connected to the parallel port!
+
+WWW: http://www.liquidx.org/padkey/index.html
+
+- Travis Poppe
+tlp@liquidx.org