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>
This commit is contained in:
Michael Nottebrock 2005-03-01 06:57:03 +00:00
parent 76d7c802da
commit 88e717a2ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130061
4 changed files with 56 additions and 0 deletions

View file

@ -143,6 +143,7 @@
SUBDIR += p5-X11-GUITest
SUBDIR += p5-X11-IdleTime
SUBDIR += p5-X11-Protocol
SUBDIR += padkey
SUBDIR += panoramixext
SUBDIR += peeper
SUBDIR += portoseguro

40
x11/padkey/Makefile Normal file
View file

@ -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>

2
x11/padkey/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (bsdpadkey-0.2.tar.gz) = f08e360f3b4f322500d7a845cc5bdcd0
SIZE (bsdpadkey-0.2.tar.gz) = 5146

13
x11/padkey/pkg-descr Normal file
View file

@ -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