baf3af7881
** C64 changes - Fixed REU snapshot bug. - Added Warpspeed and Dinamic cartridge support. - Fixed a bug in NTSC sprite timing. - Pitfall 2 cartridge works again. - Added a symbol file for the built-in monitor which allows moni- toring of ROM sections (use 'll "c64mem.sym"' inside the monitor) ** C128 changes - The Z80 emulation is almost complete now. ** VIC20 changes - Fixed geometry settings. Games that enlarge the screen work now. ** Drive changes - The drive emulation can also read error information from a 40 track D64 image now. - Fixed a bug in vdrive BAM allocation. ** Unix changes - ESD and aRts sound support has been added. ** C1541 changes - Commands to read/write GEOS formatted disks have been added.
61 lines
2.2 KiB
Makefile
61 lines
2.2 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2001/02/25 19:35:52 kristerw Exp $
|
|
|
|
DISTNAME= vice-1.6
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/cbm/firmware/computers/c64/ \
|
|
ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
64gs.390852-01.bin \
|
|
kernal.4064.901246-01.bin \
|
|
kernal.sx.251104-04.bin
|
|
|
|
MAINTAINER= kristerw@netbsd.org
|
|
HOMEPAGE= http://www.cs.cmu.edu/~dsladic/vice/vice.html
|
|
COMMENT= Emulator for C64, C128, CBM-II, PET, and VIC20
|
|
|
|
RESTRICTED= "ROM image copyright is questionable"
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_X11= yes
|
|
USE_GTEXINFO= yes
|
|
|
|
# These changes are rather common, so sed instead of patch:
|
|
post-patch:
|
|
@for file in `${FIND} ${WRKSRC} -name Makefile.in -print` \
|
|
${WRKSRC}/src/arch/unix/archdep.h; do \
|
|
${MV} -f $$file $$file.orig && \
|
|
${SED} -e s,/lib/vice/doc,/share/doc/vice, \
|
|
-e s,/lib/vice,/share/vice, \
|
|
-e '/^pkglibdir/s,(libdir),(datadir),' $$file.orig >$$file; \
|
|
done
|
|
|
|
post-build:
|
|
@dd if=${_DISTDIR}/64gs.390852-01.bin of=${WRKDIR}/basic.64gs bs=8k count=1 2>/dev/null
|
|
@dd if=${_DISTDIR}/64gs.390852-01.bin of=${WRKDIR}/kernal.64gs bs=8k skip=1 2>/dev/null
|
|
@${SED} -e 's,kernal,kernal.64gs,' -e 's,basic,basic.64gs,' \
|
|
${WRKSRC}/data/C64/default.vrs >${WRKDIR}/64gs.vrs
|
|
@${SED} -e 's,kernal,kernal.4064,' \
|
|
${WRKSRC}/data/C64/default.vrs >${WRKDIR}/4064.vrs
|
|
@${SED} -e 's,kernal,kernal.sx64,' \
|
|
${WRKSRC}/data/C64/default.vrs >${WRKDIR}/sx64.vrs
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKDIR}/basic.64gs ${PREFIX}/share/vice/C64/
|
|
${INSTALL_DATA} ${WRKDIR}/kernal.64gs ${PREFIX}/share/vice/C64/
|
|
${INSTALL_DATA} ${_DISTDIR}/kernal.4064.901246-01.bin ${PREFIX}/share/vice/C64/kernal.4064
|
|
${INSTALL_DATA} ${_DISTDIR}/kernal.sx.251104-04.bin ${PREFIX}/share/vice/C64/kernal.sx64
|
|
cd ${WRKDIR} && ${INSTALL_DATA} 64gs.vrs 4064.vrs sx64.vrs \
|
|
${PREFIX}/share/vice/C64/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/vice
|
|
${MV} ${PREFIX}/share/doc/vice/*.html ${PREFIX}/share/doc/html/vice
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
# this is the emulator's recommended setting
|
|
CFLAGS:= -O5 -finline-functions
|