682a81d309
Changes since 1.15: ** General - Improved accuracy of 65xx processor core emulation. ** Drive changes - Added support for idle traps to 1551 emulation. ** C64 changes - Fixed crash using REU emulation. - A timing problem has been fixed using old NTSC mode. - Some stupid char ROM display bug has been fixed. ** C128 changes - Fixed crash using REU emulation or CP/M mode. ** PLUS4 changes - Added proper TAP support. ** Unix Changes - Hardware scaling can be switched at runtime now. - Fixed crash on machines with weird vidmode configurations. - Fixed random crash if settings are saved. ** Miscellaneous changes - Fixed some crash in the file system emulation. - Improved datasette motor emulation.
86 lines
2.2 KiB
Makefile
86 lines
2.2 KiB
Makefile
# $NetBSD: Makefile,v 1.53 2005/02/06 23:10:09 kristerw Exp $
|
|
#
|
|
|
|
DISTNAME= vice-1.16
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/VICE/ \
|
|
http://www.nic.funet.fi/pub/cbm/crossplatform/emulators/VICE/
|
|
|
|
MAINTAINER= kristerw@NetBSD.org
|
|
HOMEPAGE= http://www.viceteam.org/
|
|
COMMENT= Emulator for C64, C128, CBM-II, PET, and VIC20
|
|
|
|
BUILD_USES_MSGFMT= YES
|
|
|
|
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}
|
|
|
|
USE_BUILDLINK3= YES
|
|
USE_PKGLOCALEDIR= YES
|
|
USE_X11= YES
|
|
USE_GNU_TOOLS+= make
|
|
USE_LANGUAGES+= c c++
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --enable-fullscreen
|
|
|
|
INFO_FILES= vice.info
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(VICE_USE_FFMPEG:M[Yy][Ee][Ss])
|
|
PKG_DEFAULT_OPTIONS+= ffmpeg
|
|
.endif
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.vice
|
|
PKG_SUPPORTED_OPTIONS= esound ffmpeg gnome
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if (${OPSYS} == NetBSD)
|
|
CONFIGURE_ENV+= ac_cv_header_sys_soundcard_h=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mffmpeg)
|
|
CONFIGURE_ARGS+= --enable-ffmpeg
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgnome)
|
|
CONFIGURE_ARGS+= --enable-gnomeui
|
|
.endif
|
|
|
|
# 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|g" \
|
|
-e "s|/lib/vice|/share/vice|g" \
|
|
-e "/^pkglibdir/s|(libdir)|(datadir)|g" \
|
|
$$file.orig >$$file; \
|
|
done
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/vice
|
|
${MV} ${PREFIX}/share/doc/vice/*.html ${PREFIX}/share/doc/html/vice
|
|
|
|
.if !empty(PKG_OPTIONS:Mesound)
|
|
.include "../../audio/esound/buildlink3.mk"
|
|
.endif
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/xpm/buildlink3.mk"
|
|
.if !empty(PKG_OPTIONS:Mffmpeg)
|
|
.include "../../multimedia/ffmpeg/buildlink3.mk"
|
|
.endif
|
|
.if !empty(PKG_OPTIONS:Mgnome)
|
|
.include "../../x11/gnome-libs/buildlink3.mk"
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|