[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / generator-cbiere

File: [cvs.NetBSD.org] / pkgsrc / emulators / generator-cbiere / Makefile (download)

Revision 1.12, Wed Nov 16 09:22:25 2011 UTC (8 years, 3 months ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.11: +4 -2 lines

Add missing archivers/bzip2 and deve/zlib buildlinks.

Bump PKGREVISION

# $NetBSD: Makefile,v 1.12 2011/11/16 09:22:25 sbd Exp $
#

DISTNAME=	generator-0.35-cbiere-r4
PKGNAME=	generator-cbiere-0.35r4
PKGREVISION=	2
CATEGORIES=	emulators
MASTER_SITES=	http://www.squish.net/generator/cbiere/generator/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://squish.net/generator/
COMMENT=	Sega Mega drive genesis emulator (Improved)

PKG_DESTDIR_SUPPORT=	user-destdir

MAKE_JOBS_SAFE=		no

GNU_CONFIGURE=		yes

.if (${MACHINE_ARCH} == "i386")
BUILD_DEPENDS+=		nasm-[0-9]*:../../devel/nasm
CONFIGURE_ARGS+=	--with-gtk --with-raze
.else
CONFIGURE_ARGS+=	--with-gtk --with-cmz80
.endif

CONFIGURE_ARGS+=	--with-sdl-audio

.include "../../mk/endian.mk"

.if ${MACHINE_ENDIAN} == "big"
CFLAGS+=	-DBYTES_HIGHFIRST
.endif

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/main/generator-gtk \
		${DESTDIR}${PREFIX}/bin/generator-cbiere-gtk

.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"