aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-04-18 03:35:08 +0800
committermiwi <miwi@FreeBSD.org>2007-04-18 03:35:08 +0800
commit082ebb8777972f017f014bbee410bbe223ea8f9c (patch)
tree290a58bfee5f9bbf5af88cfef1b3dfe0bf564a00
parent5032d495bbaab4653cf571386bb6a63cb4f792b3 (diff)
downloadfreebsd-ports-gnome-082ebb8777972f017f014bbee410bbe223ea8f9c.tar.gz
freebsd-ports-gnome-082ebb8777972f017f014bbee410bbe223ea8f9c.tar.zst
freebsd-ports-gnome-082ebb8777972f017f014bbee410bbe223ea8f9c.zip
snespp is a kernel module for Super NES/Famicon controllers interfaced via a
parallel port. It appears as a keyboard: buttons on the controllers send key strokes to the operating system. snespp works under both the system console and X windows, using the microseq interface to reduce overhead. WWW: http://www.cse.unsw.edu.au/~tbourke/software/snespp.html PR: ports/111721 Submitted by: Timothy Bourke <timbob at bigpond.com>
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/snespp/Makefile35
-rw-r--r--emulators/snespp/distinfo3
-rw-r--r--emulators/snespp/pkg-descr6
-rw-r--r--emulators/snespp/pkg-plist2
5 files changed, 47 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 0b63d6b746c5..ac360e12f5e0 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -121,6 +121,7 @@
SUBDIR += skyeye
SUBDIR += snes9express
SUBDIR += snes9x
+ SUBDIR += snespp
SUBDIR += spim
SUBDIR += stella
SUBDIR += stonx
diff --git a/emulators/snespp/Makefile b/emulators/snespp/Makefile
new file mode 100644
index 000000000000..9afab0539515
--- /dev/null
+++ b/emulators/snespp/Makefile
@@ -0,0 +1,35 @@
+# Ports collection makefile for: snespp
+# Date created: 16 April 2007
+# Whom: Timothy Bourke <timbob@bigpond.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= snespp
+PORTVERSION= 1.0
+CATEGORIES= emulators
+MASTER_SITES= http://www.cse.unsw.edu.au/~tbourke/software/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= timbob@bigpond.com
+COMMENT= Kernel module for SNES controllers on a parallel port
+
+KMODDIR= /boot/modules
+
+NO_PACKAGE= this port should be recompiled for a particular FreeBSD kernel
+PLIST_SUB= KMODDIR="${KMODDIR}"
+
+MAN4= snespp.4
+MANCOMPRESSED= no
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000
+IGNORE= versions of FreeBSD before 6.0 are not supported
+.endif
+
+do-install:
+ @${INSTALL_MAN} ${WRKSRC}/snespp.4 ${PREFIX}/man/man4
+ @${INSTALL_PROGRAM} ${WRKSRC}/snespp.ko ${KMODDIR}
+
+.include <bsd.port.post.mk>
diff --git a/emulators/snespp/distinfo b/emulators/snespp/distinfo
new file mode 100644
index 000000000000..13d545865e42
--- /dev/null
+++ b/emulators/snespp/distinfo
@@ -0,0 +1,3 @@
+MD5 (snespp-1.0.tar.gz) = 15b7ad6c38a9b8b9168d5bb5de979d93
+SHA256 (snespp-1.0.tar.gz) = 6fa2402c3ad1b8fb677ecd61e003d3850263f405c57fb4aa503f5a0a2ea6dfcc
+SIZE (snespp-1.0.tar.gz) = 10203
diff --git a/emulators/snespp/pkg-descr b/emulators/snespp/pkg-descr
new file mode 100644
index 000000000000..66620a8f7d6f
--- /dev/null
+++ b/emulators/snespp/pkg-descr
@@ -0,0 +1,6 @@
+snespp is a kernel module for Super NES/Famicon controllers interfaced via a
+parallel port. It appears as a keyboard: buttons on the controllers send key
+strokes to the operating system. snespp works under both the system console
+and X windows, using the microseq interface to reduce overhead.
+
+WWW: http://www.cse.unsw.edu.au/~tbourke/software/snespp.html
diff --git a/emulators/snespp/pkg-plist b/emulators/snespp/pkg-plist
new file mode 100644
index 000000000000..cf718a4ca418
--- /dev/null
+++ b/emulators/snespp/pkg-plist
@@ -0,0 +1,2 @@
+@cwd /
+%%KMODDIR%%/snespp.ko