# New ports collection makefile for:	acm
# Date created:		5 March 1995
# Whom:			joerg
#
# $FreeBSD$
#

PORTNAME=	acm
PORTVERSION=	5.0
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.websimulations.com/pub/download/

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

USE_XLIB=	yes
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>