freebsd-ports/emulators/xmess/Makefile
Chris D. Faulhaber 9489c320c5 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>
1999-12-24 14:01:14 +00:00

57 lines
1.5 KiB
Makefile

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