From 88e717a2ee048f06f99a77c97e7ce772c4360b85 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Tue, 1 Mar 2005 06:57:03 +0000 Subject: 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 --- x11/padkey/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ x11/padkey/distinfo | 2 ++ x11/padkey/pkg-descr | 13 +++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 x11/padkey/Makefile create mode 100644 x11/padkey/distinfo create mode 100644 x11/padkey/pkg-descr (limited to 'x11/padkey') 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 +# +# $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 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 -- cgit v1.2.3