3b922a2b77
more and he has agreed in private mail to drop maintainership.
37 lines
932 B
Makefile
37 lines
932 B
Makefile
# $NetBSD: Makefile,v 1.18 2010/07/06 10:17:12 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= dgen-sdl-1.23
|
|
PKGREVISION= 5
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://www.pknet.com/~joe/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.pknet.com/~joe/dgen-sdl.html
|
|
COMMENT= Genesis/Megadrive emulator for Unix platforms
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
DEPENDS+= nasm-[0-9]*:../../devel/nasm
|
|
.endif
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-extra-opt
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-mpentium
|
|
BUILDLINK_TRANSFORM+= rm:-march=pentium
|
|
BUILDLINK_TRANSFORM+= rm:-fno-rtti
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(CC_VERSION:Mgcc-[34]*)
|
|
BUILDLINK_TRANSFORM+= 'opt:-m\(align-loops.*\):-f\1'
|
|
BUILDLINK_TRANSFORM+= 'opt:-m\(align-jumps.*\):-f\1'
|
|
BUILDLINK_TRANSFORM+= 'opt:-m\(align-functions.*\):-f\1'
|
|
.endif
|
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|