summaryrefslogtreecommitdiff
path: root/emulators/xmess/Makefile
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>1999-12-24 14:01:14 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>1999-12-24 14:01:14 +0000
commit9489c320c55b70faa0aa6e5699b323b1d528a4e2 (patch)
tree7689af641d3e46756f48c177ec76f8c213c9f568 /emulators/xmess/Makefile
parentUpdate to 0.9.14 (diff)
Xmess is a game console emulator which currently supports the
Nintendo Entertainment System (NES), Sega Genesis/Megadrive, TRS-80 models 1 and 3, Colour Genie, Colecovision, Vectrex, Apple ][ series, Atari 800, Atari 5200, Sega Master System/Game Gear, Bally Astrocade, Kaypro 2x and PDP-1. PR: 13201 Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>
Notes
Notes: svn path=/head/; revision=23992
Diffstat (limited to 'emulators/xmess/Makefile')
-rw-r--r--emulators/xmess/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
new file mode 100644
index 000000000000..ed47be52127c
--- /dev/null
+++ b/emulators/xmess/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: xmess
+# Version required: 0.2b4.1
+# Date created: Tue Aug 17 00:21:10 MET DST 1999
+# Whom: nox@jelal.kn-bremen.de
+#
+# $FreeBSD$
+#
+
+DISTNAME= unix02s4
+PKGNAME= xmess-0.2b4.1
+CATEGORIES= emulators
+MASTER_SITES= http://mess.emuverse.com/files/ \
+ http://www.vintagegaming.com/hosted/vectrex/
+DISTFILES= ${DISTNAME}.tgz pdp1.zip
+
+#MAINTAINER= mycroft@NetBSD.ORG # NetBSD
+MAINTAINER= nox@jelal.kn-bremen.de
+
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+
+EXTRACT_ONLY= ${DISTNAME}.tgz
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+MAKE_ENV+= OPSYS=${OPSYS} ARCH=${ARCH} MACHINE_ARCH=${ARCH} \
+ DESTDIR=${DESTDIR} \
+ INSTALL_MAN="${INSTALL_MAN}" \
+ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ NETBSD_JOYSTICK="${NETBSD_JOYSTICK}" \
+ DISPLAY_METHOD="${DISPLAY_METHOD}"
+MAKEFILE= makefile.unix
+DISPLAY_METHOD= x11
+ALL_TARGET= xmess.${DISPLAY_METHOD}
+
+WRKSRC= ${WRKDIR}/xmess-0.2b4.1
+
+MESSDIR= ${PREFIX}/share/xmess
+MESSLIB= ${PREFIX}/lib/xmess
+.if exists(/usr/include/machine/joystick.h)
+NETBSD_JOYSTICK=yes
+.else
+NETBSD_JOYSTICK=no
+.endif
+
+post-patch:
+ (cd ${WRKSRC}/doc && ${SED} 's|@MESSDIR@|${MESSDIR}|;s|@MESSLIB@|${MESSLIB}|' xmessrc.dist >xmessrc)
+
+do-install:
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${ALL_TARGET} ${PREFIX}/bin/xmess)
+ ${MKDIR} ${MESSDIR}
+ (cd ${WRKSRC}/doc && ${INSTALL_DATA} xmessrc ${MESSDIR}/xmessrc)
+ ${MKDIR} ${MESSLIB}
+ ${INSTALL_DATA} ${_DISTDIR}/pdp1.zip ${MESSLIB}/spacewar.zip
+ @${ECHO} try \`xmess pdp1 spacewar\' for the original 1961 Space Wars
+
+.include <bsd.port.mk>