# $OpenBSD: Makefile,v 1.2 2011/09/06 19:21:52 jasper Exp $ COMMENT = emulates numerous game consoles DISTNAME = mednafen-0.8.D.3 PKGNAME = mednafen-0.8.3 CATEGORIES = emulators games HOMEPAGE = http://mednafen.sourceforge.net/ MAINTAINER = Jeremy Evans # GPLv2 PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM = Yes PERMIT_DISTFILES_FTP = Yes MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mednafen/} EXTRACT_SUFX = .tar.bz2 MODULES = devel/gettext WANTLIB += SDL SDL_net c cdio m pthread sndfile sndio stdc++ usbhid WANTLIB += z USE_GMAKE = Yes LIB_DEPENDS = audio/libcdio \ audio/libsndfile \ devel/sdl \ devel/sdl-net WRKDIST = ${WRKDIR}/mednafen VMEM_WARNING = Yes CONFIGURE_STYLE = gnu CONFIGURE_ENV = CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \ LDFLAGS="-L${LOCALBASE}/lib -pthread" CONFIGURE_ARGS = --disable-alsa \ --disable-rpath \ --disable-jack \ --with-x \ --with-gnu-ld post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mednafen ${INSTALL_DATA} ${WRKSRC}/Documentation/* ${PREFIX}/share/doc/mednafen/ .include