1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/emulators/dgen-sdl/Makefile
Alex Kozlov 19901fb6e9 - Fix build with nasm 2.13.01
PR:	220099
Submitted by:	rozhuk.im
2017-07-12 21:56:58 +00:00

39 lines
742 B
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= dgen-sdl
PORTVERSION= 1.33
PORTREVISION= 4
CATEGORIES= emulators
MASTER_SITES= SF/dgen/dgen/${PORTVERSION}
MAINTAINER= ak@FreeBSD.org
COMMENT= Wonderful Sega Genesis/MegaDrive emulator
USE_SDL= sdl
USE_GL= yes
USES= gmake libarchive
GNU_CONFIGURE= yes
PLIST_FILES= bin/dgen \
bin/dgen_tobin \
man/man1/dgen.1.gz \
man/man1/dgen_tobin.1.gz \
man/man5/dgenrc.5.gz
.include <bsd.port.pre.mk>
.if ${ARCH} == i386
BUILD_DEPENDS+= nasm:devel/nasm
.else
CONFIGURE_ARGS+= --disable-asm
.endif
post-patch:
@${REINPLACE_CMD} -e '/@NASM@/s/--//' \
${WRKSRC}/Makefile.in \
${WRKSRC}/mz80/Makefile.in \
${WRKSRC}/star/Makefile.in
.include <bsd.port.post.mk>