pkgsrc/emulators/pearpc/Makefile

64 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.3 2004/10/03 00:14:40 tv Exp $
#
Update emulators/pearpc to 0.3.1, patch provided by zul in PR pkg/27092, thanks! Changes: version 0.3.1 (released 5. September 2004): - JITC_X86: increased translation cache size - (Win32) fixed: '`'/'~' key wasn't mapped - (SDL) fixed: right-alt was mapped to left-alt - fixed: German '<>|' key wasn't mapped - JITC_X86: corrected tw/twi instructions (should fix java native IO calls fail) - fixed: rfi instruction (should also fix java native IO calls fail) - fixed: some mysterious partition mappings in src/io/prom/fs/hfsplus/partition.c - (BEOS) updated - disabled unused keyboard shortcuts version 0.3 (released 13. August 2004): - clean up everything on exit - (experimental) idle sleep for the JITC CPU - asynchronous keyboard and mouse events - implemented IDE Flush - Win32: implemented fullscreen mode proposed by Matt Jobson - short cut keys are configurable - correct clock/timing (Win32 + Posix) by Keith Rothman, Kimball Thurston and Stefan Weyergraf - SDL support - SDL: implemented fullscreen mode - source tree reorganisation - display functions moved to src/system/ui directory - src/system/arch created - system/posix,win32 and beos moved to system/osapi/ - host keyboard support separated from SystemDisplay - host mouse support separated from SystemDisplay - architecture-specific video acceleration functions (x86) - configure-system: choose "jitc_x86" on x86s when no --enable-cpu given - JITC: srawix, subfcx, divwx, divuwx, mulhwx, mulwx, subfex, extshx implemented - JITC: align entrypoints
2004-10-01 00:59:46 +02:00
DISTNAME= pearpc-0.3.1
PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pearpc/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= dotz@irc.pl
HOMEPAGE= http://pearpc.sourceforge.net/
COMMENT= PowerPC emulator
GNU_CONFIGURE= yes
USE_BUILDLINK3= yes
Update emulators/pearpc to 0.3.1, patch provided by zul in PR pkg/27092, thanks! Changes: version 0.3.1 (released 5. September 2004): - JITC_X86: increased translation cache size - (Win32) fixed: '`'/'~' key wasn't mapped - (SDL) fixed: right-alt was mapped to left-alt - fixed: German '<>|' key wasn't mapped - JITC_X86: corrected tw/twi instructions (should fix java native IO calls fail) - fixed: rfi instruction (should also fix java native IO calls fail) - fixed: some mysterious partition mappings in src/io/prom/fs/hfsplus/partition.c - (BEOS) updated - disabled unused keyboard shortcuts version 0.3 (released 13. August 2004): - clean up everything on exit - (experimental) idle sleep for the JITC CPU - asynchronous keyboard and mouse events - implemented IDE Flush - Win32: implemented fullscreen mode proposed by Matt Jobson - short cut keys are configurable - correct clock/timing (Win32 + Posix) by Keith Rothman, Kimball Thurston and Stefan Weyergraf - SDL support - SDL: implemented fullscreen mode - source tree reorganisation - display functions moved to src/system/ui directory - src/system/arch created - system/posix,win32 and beos moved to system/osapi/ - host keyboard support separated from SystemDisplay - host mouse support separated from SystemDisplay - architecture-specific video acceleration functions (x86) - configure-system: choose "jitc_x86" on x86s when no --enable-cpu given - JITC: srawix, subfcx, divwx, divuwx, mulhwx, mulwx, subfex, extshx implemented - JITC: align entrypoints
2004-10-01 00:59:46 +02:00
USE_LANGUAGES+= c++
USE_PKGINSTALL= yes
USE_X11= yes
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/ppccfg.example ${PKG_SYSCONFDIR}/ppccfg.conf
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_ARCH:Mi386)
BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
CONFIGURE_ARGS+= --enable-cpu=jitc_x86
.endif
CONFIGURE_ARGS+= --disable-debug
INSTALLATION_DIRS= share/${PKGBASE} bin
do-install:
${SED} -e "s,@PREFIX@,${PREFIX}," \
-e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR}," \
${FILESDIR}/pearpc.sh > ${WRKSRC}/pearpc.sh
${INSTALL_SCRIPT} ${WRKSRC}/pearpc.sh ${PREFIX}/bin/pearpc
${INSTALL_PROGRAM} ${WRKSRC}/src/ppc ${PREFIX}/share/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/video.x ${PREFIX}/share/${PKGBASE}
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/ppccfg.example ${EGDIR}
SUBST_CLASSES= conf
SUBST_STAGE.conf= post-patch
SUBST_FILES.conf= ppccfg.example
SUBST_SED.conf= -e "s|\"nvram\"|\"/tmp/nvram\"|"
SUBST_MESSAGE.conf= "Fixing configuration file."
Update emulators/pearpc to 0.3.1, patch provided by zul in PR pkg/27092, thanks! Changes: version 0.3.1 (released 5. September 2004): - JITC_X86: increased translation cache size - (Win32) fixed: '`'/'~' key wasn't mapped - (SDL) fixed: right-alt was mapped to left-alt - fixed: German '<>|' key wasn't mapped - JITC_X86: corrected tw/twi instructions (should fix java native IO calls fail) - fixed: rfi instruction (should also fix java native IO calls fail) - fixed: some mysterious partition mappings in src/io/prom/fs/hfsplus/partition.c - (BEOS) updated - disabled unused keyboard shortcuts version 0.3 (released 13. August 2004): - clean up everything on exit - (experimental) idle sleep for the JITC CPU - asynchronous keyboard and mouse events - implemented IDE Flush - Win32: implemented fullscreen mode proposed by Matt Jobson - short cut keys are configurable - correct clock/timing (Win32 + Posix) by Keith Rothman, Kimball Thurston and Stefan Weyergraf - SDL support - SDL: implemented fullscreen mode - source tree reorganisation - display functions moved to src/system/ui directory - src/system/arch created - system/posix,win32 and beos moved to system/osapi/ - host keyboard support separated from SystemDisplay - host mouse support separated from SystemDisplay - architecture-specific video acceleration functions (x86) - configure-system: choose "jitc_x86" on x86s when no --enable-cpu given - JITC: srawix, subfcx, divwx, divuwx, mulhwx, mulwx, subfex, extshx implemented - JITC: align entrypoints
2004-10-01 00:59:46 +02:00
PKG_OPTIONS_VAR= PKG_OPTIONS.pearpc
PKG_SUPPORTED_OPTIONS= sdl
.include "../../mk/bsd.options.mk"
.if empty(PKG_OPTIONS:Msdl)
CONFIGURE_ARGS+= --enable-ui=x11
.else
CONFIGURE_ARGS+= --enable-ui=sdl
. include "../../devel/SDL/buildlink3.mk"
.endif
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"