40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.17 2020/04/15 13:31:42 fcambus Exp $
|
|
|
|
COMMENT = MAME port with advanced video support for monitors and TVs
|
|
|
|
V = 3.9
|
|
DISTNAME = advancemame-$V
|
|
REVISION = 1
|
|
|
|
CATEGORIES = emulators games
|
|
|
|
HOMEPAGE = https://www.advancemame.it/
|
|
|
|
# GPLv2+ and MAME License
|
|
PERMIT_PACKAGE = unclear license
|
|
PERMIT_DISTFILES = unclear license
|
|
|
|
WANTLIB += SDL2 c expat freetype m pthread z
|
|
|
|
MASTER_SITES = https://github.com/amadvance/advancemame/releases/download/v$V/
|
|
|
|
LIB_DEPENDS = devel/sdl2
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --disable-asm
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
post-patch:
|
|
@sed -i 's,@@,@,' ${WRKSRC}/Makefile.in
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/obj/mame/generic/blend/advmame ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/obj/mess/generic/blend/advmess ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/doc/advmame.1 ${PREFIX}/man/man1
|
|
${INSTALL_DATA} ${WRKSRC}/doc/advmame.1 ${PREFIX}/man/man1/advmess.1
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/advancemame
|
|
${INSTALL_DATA} ${WRKSRC}/doc/advmame.txt ${PREFIX}/share/doc/advancemame
|
|
|
|
.include <bsd.port.mk>
|