2020-01-02 08:59:22 +00:00

50 lines
981 B
Makefile

# $OpenBSD: Makefile,v 1.19 2020/01/02 08:59:22 fcambus Exp $
COMMENT = versatile Commodore emulator
DISTNAME = vice-3.3
REVISION = 2
CATEGORIES = emulators
HOMEPAGE = http://vice-emu.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} FLAC SDL2 c gif iconv intl jpeg
WANTLIB += m ogg png readline vorbis vorbisenc vorbisfile z
COMPILER = base-clang ports-gcc base-gcc
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=vice-emu/}
BUILD_DEPENDS = devel/xa
LIB_DEPENDS = audio/flac \
audio/libvorbis \
devel/gettext,-runtime \
devel/sdl2 \
graphics/giflib \
graphics/jpeg \
graphics/png
CONFIGURE_STYLE = autoconf
AUTOCONF_VERSION = 2.69
CONFIGURE_ARGS += --without-oss \
--without-pulse \
--disable-lame \
--disable-portaudio \
--enable-sdlui2
CONFIGURE_ENV += ac_cv_header_mpg123_h=no
pre-configure:
${SUBST_CMD} ${WRKSRC}/man/vice.1
post-install:
rm ${PREFIX}/lib/vice/doc/vice.info
.include <bsd.port.mk>