pkgsrc/emulators/vice/Makefile
wiz 964bcc9c5b Update to 2.4, provided by Olaf 'Rhialto' Seibert in PR/47223.
While here, add missing tex-pdftex build dependency (for vice.pdf) and
fix ffmpeg option build.

Changes: Lots of extra hardware is emulated (including the long
awaited SuperPET 6809 parts), and several new host platforms are
added.
2012-12-12 09:58:03 +00:00

57 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.103 2012/12/12 09:58:03 wiz Exp $
DISTNAME= vice-2.4
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vice-emu/}
MASTER_SITES+= ftp://ftp.zimmers.net/pub/cbm/crossplatform/emulators/VICE/
MASTER_SITES+= http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/
MAINTAINER= rhialto@falu.nl
HOMEPAGE= http://vice-emu.sourceforge.net/
COMMENT= Emulator for C64, C128, CBM-II, PET, VIC20, Plus4 and C16
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex
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_PKGLOCALEDIR= YES
USE_TOOLS+= bdftopcf gmake msgfmt
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
CONFIGURE_ENV+= toolchain_check=no
INFO_FILES= YES
FONTS_DIRS.x11= ${PREFIX}/share/vice/fonts
REQD_DIRS+= ${PREFIX}/share/vice/fonts
REQD_DIRS+= ${PREFIX}/share/vice
PLIST_SRC+= PLIST
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == NetBSD)
CONFIGURE_ARGS+= --without-oss
CPPFLAGS+= -DHAVE_STDINT_H
.endif
.if (${OPSYS} == DragonFly)
CPPFLAGS+= -DHAVE_STDINT_H
.endif
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/giflib.buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"