openbsd-ports/emulators/mednafen/Makefile
bcallah 63eeca4c3e Remove --disable-external-libs from audio/libsndfile. Needed for the import of audio/mscore.
Bump all dependent ports that need a bump.
Assign MAINTAINER of audio/libsamplerate and audio/libsndfile to Jan Stary.

ok landry@ sthen@ aja@ jasper@ jeremy@ Jan Stary (MAINTAINER)
2013-01-26 15:53:20 +00:00

56 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2013/01/26 15:53:20 bcallah Exp $
COMMENT = emulates numerous game consoles
V = 0.9.28
DISTNAME = mednafen-${V}-wip
PKGNAME = mednafen-${V}
REVISION = 0
CATEGORIES = emulators games
HOMEPAGE = http://mednafen.sourceforge.net/
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# 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 c cdio m pthread sndfile sndio stdc++ usbhid z
WANTLIB += FLAC ogg vorbis vorbisenc
USE_GMAKE = Yes
LIB_DEPENDS = audio/libcdio \
audio/libsndfile \
devel/sdl
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
# this intrinsic is not supported with our old gcc
CONFIGURE_ARGS += --disable-altivec
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mednafen
${INSTALL_DATA} ${WRKSRC}/Documentation/* ${PREFIX}/share/doc/mednafen/
.include <bsd.port.mk>