be5360d931
Fixes a crash with an alternate video filter. Also, enable the new regression tests. Also, sync the manpage with reality. Also, take maintainership. ok stsp@
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2012/08/13 06:38:00 bentley Exp $
|
|
|
|
COMMENT = highly accurate Game Boy Color emulator
|
|
|
|
V = 0.5.0
|
|
DISTNAME = gambatte_src-${V}-wip2v2
|
|
PKGNAME = gambatte-${V}-beta3
|
|
|
|
CATEGORIES = emulators
|
|
|
|
HOMEPAGE = http://gambatte.sourceforge.net/
|
|
|
|
MAINTAINER = Anthony J. Bentley <anthony@cathet.us>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB += c m pthread stdc++ z SDL
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gambatte/}
|
|
|
|
MODULES = devel/scons \
|
|
lang/python
|
|
LIB_DEPENDS = devel/sdl
|
|
|
|
REGRESS_DEPENDS = graphics/png
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKDIST}/testrunner/SConstruct
|
|
|
|
do-build:
|
|
${SETENV} ${MAKE_ENV} ${MODSCONS_BIN} -C ${WRKDIST}/libgambatte \
|
|
${MODSCONS_ENV} ${MODSCONS_FLAGS} ${ALL_TARGET}
|
|
${SETENV} ${MAKE_ENV} ${MODSCONS_BIN} -C ${WRKDIST}/gambatte_sdl \
|
|
${MODSCONS_ENV} ${MODSCONS_FLAGS} ${ALL_TARGET}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKDIST}/gambatte_sdl/gambatte_sdl ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKDIST}/gambatte_sdl/man/gambatte_sdl.6 \
|
|
${PREFIX}/man/man6
|
|
|
|
do-regress:
|
|
${SETENV} ${MAKE_ENV} ${MODSCONS_BIN} -C ${WRKDIST}/testrunner \
|
|
${MODSCONS_ENV} ${MODSCONS_FLAGS} ${ALL_TARGET}
|
|
cd ${WRKDIST}/testrunner && \
|
|
${MODPY_BIN} qdgbas.py hwtests/*.asm hwtests/*/*.asm \
|
|
hwtests/*/*/*.asm hwtests/*/*/*/*.asm && ./run_tests.sh
|
|
|
|
.include <bsd.port.mk>
|