2006-02-06 00:08:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.10 2006/02/05 23:09:01 joerg Exp $
|
2004-07-16 16:25:34 +02:00
|
|
|
#
|
|
|
|
|
2006-01-10 15:33:26 +01:00
|
|
|
DISTNAME= gcube-0.4-src
|
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2004-07-16 16:25:34 +02:00
|
|
|
CATEGORIES= emulators
|
2004-07-17 18:46:03 +02:00
|
|
|
MASTER_SITES= http://gcube.exemu.net/downloads/
|
2004-07-16 16:25:34 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
|
|
HOMEPAGE= http://gcube.exemu.net/
|
|
|
|
COMMENT= Opensource Nintendo GameCube(TM) emulator
|
|
|
|
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2006-01-10 15:33:26 +01:00
|
|
|
WRKSRC= ${WRKDIR}/0.4
|
2004-07-16 16:25:34 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if !empty(MACHINE_ARCH:Mi386)
|
|
|
|
BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
|
|
|
|
CFLAGS+= -DASM_X86=1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= share/doc/${PKGBASE} bin
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for prog in isopack gcube bin2dol gcmap tplx
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
.for f in README ChangeLog COPYING
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2006-01-10 15:33:26 +01:00
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
2004-07-16 16:25:34 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|