ports/75285: New Port: x11/padkey - Use an SNES pad on FreeBSD
Travis Poppe
tlp at LiquidX.org
Mon Dec 20 02:10:25 UTC 2004
>Number: 75285
>Category: ports
>Synopsis: New Port: x11/padkey - Use an SNES pad on FreeBSD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 20 02:10:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Travis Poppe <tlp at LiquidX.org>
>Release:
>Organization:
>Environment:
>Description:
BSD PadKey is a program that sends keystrokes to X according to buttons
being pressed on an SNES pad connected to the parallel port.
In short, you can use this to play games on FreeBSD with an authentic
SNES controller.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# x11/padkey
# x11/padkey/Makefile
# x11/padkey/distinfo
# x11/padkey/pkg-descr
#
echo c - x11/padkey
mkdir -p x11/padkey > /dev/null 2>&1
echo x - x11/padkey/Makefile
sed 's/^X//' >x11/padkey/Makefile << 'END-of-x11/padkey/Makefile'
X# New ports collection makefile for: padkey
X# Date created: 19 Dec 2004
X# Whom: Travis Poppe <tlp at liquidx.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= padkey
XPORTVERSION= 0.1
XCATEGORIES= x11 games
XMASTER_SITES= http://www.liquidx.org/padkey/releases/dist/
XDISTNAME= bsd${PORTNAME}-${PORTVERSION}
X
XMAINTAINER= tlp at liquidx.org
XCOMMENT= Use an authentic SNES controller to play games
X
XUSE_GZIP= yes
XUSE_XLIB= yes
XUSE_X_PREFIX= yes
XUSE_REINPLACE= yes
X
X.if defined(NOPORTDOCS)
XPLIST_FILES= bin/padkey
X.endif
X
XPLIST_FILES= bin/padkey %%DOCSDIR%%/CREDITS %%DOCSDIR%%/README
XPLIST_DIRS= %%DOCSDIR%%
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|/usr/X11R6/|${X11BASE}/|' ${WRKSRC}/Makefile
X @${REINPLACE_CMD} -e 's|default:|all:|' ${WRKSRC}/Makefile
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/padkey ${PREFIX}/bin/padkey
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}/CREDITS
X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
X.endif
X
X.include <bsd.port.mk>
END-of-x11/padkey/Makefile
echo x - x11/padkey/distinfo
sed 's/^X//' >x11/padkey/distinfo << 'END-of-x11/padkey/distinfo'
XMD5 (bsdpadkey-0.1.tar.gz) = f0966b1ab8d0f70ef379260369a4d013
XSIZE (bsdpadkey-0.1.tar.gz) = 4961
END-of-x11/padkey/distinfo
echo x - x11/padkey/pkg-descr
sed 's/^X//' >x11/padkey/pkg-descr << 'END-of-x11/padkey/pkg-descr'
XBSD PadKey is a small program for FreeBSD that sends keys to your X display
Xaccording to which buttons are being pressed on a modified SNES pad connected
Xto the parallel port.
X
XIn short, PadKey allows you to play games on FreeBSD with an authentic SNES
Xcontroller.
X
XNote: This version only works with ONE pad connected to the parallel port!
X
XWWW: http://www.liquidx.org/padkey/index.html
X
X- Travis Poppe
Xtlp at liquidx.org
END-of-x11/padkey/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list