summaryrefslogtreecommitdiff
path: root/games/acm/Makefile
blob: ff760c8713884297216aa519994c5a333ab6886e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: joerg
# $FreeBSD$

PORTNAME=	acm
PORTVERSION=	5.0
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Arial combat simulator for X11

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		perl5
USE_XORG=	x11 xext
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--x-includes=${LOCALBASE}/include \
		--x-libraries=${LOCALBASE}/lib
CONFIGURE_ENV=	ac_cv_lib_Xm_XmCreateBulletinBoard=no \
		ac_cv_lib_gdbm_dbm_fetch=no
USE_PERL5=	build
MAKE_ARGS+=	prefix=${STAGEDIR}${PREFIX}/ OBVDIR=${STAGEDIR}${DATADIR}/

OPTIONS_DEFINE=	SOUND

SOUND_LIB_DEPENDS=	libaudio.so:${PORTSDIR}/audio/nas

.include <bsd.port.options.mk>

.if empty(PORT_OPTIONS:MSOUND)
CONFIGURE_ENV+=	ac_cv_lib_audio_AuCloseServer=no
.endif

.include <bsd.port.mk>