2018-07-18 02:06:10 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2018/07/18 00:06:15 joerg Exp $
|
2003-12-04 00:34:46 +01:00
|
|
|
|
2006-04-17 15:45:57 +02:00
|
|
|
DISTNAME= VisualBoyAdvance-src-1.7.2
|
|
|
|
PKGNAME= vba-1.7.2
|
2015-04-25 16:20:17 +02:00
|
|
|
PKGREVISION= 7
|
2003-12-04 00:34:46 +01:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vba/}
|
|
|
|
|
2012-12-12 11:44:06 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-10-29 22:55:55 +02:00
|
|
|
HOMEPAGE= http://vba.ngemu.com/
|
2003-12-04 00:34:46 +01:00
|
|
|
COMMENT= Gameboy advance emulator
|
|
|
|
|
2006-04-17 15:45:57 +02:00
|
|
|
WRKSRC= ${WRKDIR}/VisualBoyAdvance-1.7.2
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2003-12-04 00:34:46 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-04-17 15:45:57 +02:00
|
|
|
#CONFIGURE_ARGS+= --enable-c-core
|
|
|
|
#CONFIGURE_ARGS+= --without-mmx
|
2018-07-18 02:06:10 +02:00
|
|
|
USE_LANGUAGES= c c++03
|
2006-04-17 15:45:57 +02:00
|
|
|
UNLIMIT_RESOURCES= datasize
|
2003-12-04 00:34:46 +01:00
|
|
|
|
2004-02-01 02:43:28 +01:00
|
|
|
GCC_REQD+= 3.0.0
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
2003-12-04 00:34:46 +01:00
|
|
|
|
2006-04-17 15:45:57 +02:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
|
|
|
|
.endif
|
|
|
|
|
2003-12-04 00:34:46 +01:00
|
|
|
do-install:
|
2008-03-03 20:21:37 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/sdl/TestEmu ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/sdl/VisualBoyAdvance \
|
|
|
|
${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/vba
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/vba
|
2003-12-04 00:34:46 +01:00
|
|
|
|
2004-03-07 06:38:54 +01:00
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2003-12-04 00:34:46 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|