# New ports collection makefile for:    mupen64plus
# Date created:         2008-05-17
# Whom:                 Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# $FreeBSD: ports/emulators/mupen64plus/Makefile,v 1.10 2010/12/18 05:27:30 acm Exp $
#

PORTNAME=	mupen64plus
PORTVERSION=	1.99.4
PORTREVISION=	1
CATEGORIES=	emulators
MASTER_SITES=	# empty
DISTFILES=	# empty
EXTRACT_ONLY=	# empty

MAINTAINER?=	acm@FreeBSD.org
COMMENT=	A fork of Mupen64 Nintendo 64 emulator with plugins (meta port)

# Mupen64 Emulator core and ui-console
RUN_DEPENDS+=	${LOCALBASE}/lib/libmupen64plus.so.2:${PORTSDIR}/emulators/mupen64plus-core
RUN_DEPENDS+=	mupen64plus:${PORTSDIR}/emulators/mupen64plus-ui-console

# Audio plugins
RUN_DEPENDS+=	${LOCALBASE}/lib/${PORTNAME}/mupen64plus-audio-sdl.so:${PORTSDIR}/emulators/mupen64plus-audio-sdl

# Input plugins
RUN_DEPENDS+=	${LOCALBASE}/lib/${PORTNAME}/mupen64plus-input-sdl.so:${PORTSDIR}/emulators/mupen64plus-input-sdl
RUN_DEPENDS+=	${LOCALBASE}/lib/${PORTNAME}/mupen64plus-rsp-hle.so:${PORTSDIR}/emulators/mupen64plus-rsp-hle

# Graphics plugins
RUN_DEPENDS+=	${LOCALBASE}/lib/${PORTNAME}/mupen64plus-video-rice.so:${PORTSDIR}/emulators/mupen64plus-video-rice

NO_MTREE=	yes
NO_BUILD=	yes
SUB_FILES=	pkg-message

do-install:	# empty

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
