# New ports collection makefile for:	acm
# Date created:		5 March 1995
# Whom:			joerg
#
# $FreeBSD: ports/games/acm/Makefile,v 1.35 2011/12/14 21:29:12 crees Exp $
#

PORTNAME=	acm
PORTVERSION=	5.0
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://www.websimulations.com/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A flight simulator for X11

LICENSE=	GPLv2

USE_XORG=	x11
GNU_CONFIGURE=	yes
USE_PERL5_BUILD=yes

MAN6=		acm.6

.include <bsd.port.pre.mk>

# Include sound support (Use network audio server (nas))
.if defined(WITH_SOUND) || (exists(${PREFIX}/lib/libaudio.a) \
	&& !defined(WITHOUT_SOUND))
LIB_DEPENDS+=	audio.2:${PORTSDIR}/audio/nas
.endif

.include <bsd.port.post.mk>
