42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2016/03/09 22:10:13 tnn Exp $
|
|
#
|
|
|
|
DISTNAME= gcube-0.4-src
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
|
PKGREVISION= 5
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://www.liquidx.org/distfiles/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://gcube.exemu.net/
|
|
COMMENT= Opensource Nintendo GameCube(TM) emulator
|
|
|
|
USE_TOOLS+= gmake
|
|
WRKSRC= ${WRKDIR}/0.4
|
|
|
|
LDFLAGS.DragonFly= -lm
|
|
LDFLAGS.SunOS+= -lm
|
|
LDFLAGS.Linux+= -lm
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(MACHINE_ARCH:Mi386)
|
|
BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
|
|
CFLAGS+= -DASM_X86=1
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= bin share/doc/${PKGBASE}
|
|
|
|
do-install:
|
|
.for prog in isopack gcube bin2dol gcmap tplx
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${prog} ${DESTDIR}${PREFIX}/bin
|
|
.endfor
|
|
.for f in README ChangeLog COPYING
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
.endfor
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|