Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / emulators / dgen / Makefile
blob2426a492b1f342c0d9dafb66b312db78f6df301c
1 # $NetBSD: Makefile,v 1.19 2012/01/08 15:10:49 wiz Exp $
4 DISTNAME= dgen-sdl-1.28
5 CATEGORIES= emulators
6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dgen/}
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://dgen.sourceforge.net/
10 COMMENT= Genesis/Megadrive emulator for Unix platforms
12 .if ${MACHINE_ARCH} == "i386"
13 DEPENDS+= nasm-[0-9]*:../../devel/nasm
14 .endif
16 USE_LANGUAGES= c c++
17 USE_TOOLS+= gmake
18 GNU_CONFIGURE= yes
20 CONFIGURE_ARGS+= --with-extra-opt
22 BUILDLINK_TRANSFORM+= rm:-mpentium
23 BUILDLINK_TRANSFORM+= rm:-march=pentium
24 BUILDLINK_TRANSFORM+= rm:-fno-rtti
26 .include "../../mk/compiler.mk"
27 .if !empty(CC_VERSION:Mgcc-[34]*)
28 BUILDLINK_TRANSFORM+= 'opt:-m\(align-loops.*\):-f\1'
29 BUILDLINK_TRANSFORM+= 'opt:-m\(align-jumps.*\):-f\1'
30 BUILDLINK_TRANSFORM+= 'opt:-m\(align-functions.*\):-f\1'
31 .endif
33 .include "../../devel/SDL/buildlink3.mk"
34 .include "../../mk/bsd.pkg.mk"