summaryrefslogtreecommitdiff
path: root/games/acm/Makefile
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-29 19:07:46 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-29 19:07:46 +0000
commit077fbccf15ee1b642207f3e6c04799bd785c2537 (patch)
treeafcabe323255b2bd49545422a26c1589c538d392 /games/acm/Makefile
parentUpdate to version 13.10 (diff)
- Update COMMENT [1]
- Update pkg-descr [1] - Add SOUND option [1] - Add stage support - Update MASTER_SITES - Use %%DATADIR%% in pkg-plist PR: ports/181067 Submitted by: KATO Tsuguru <tkato432@yahoo.com> [1]
Notes
Notes: svn path=/head/; revision=331980
Diffstat (limited to '')
-rw-r--r--games/acm/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/games/acm/Makefile b/games/acm/Makefile
index aa56d7ca822f..618b0c0b3587 100644
--- a/games/acm/Makefile
+++ b/games/acm/Makefile
@@ -5,27 +5,29 @@ PORTNAME= acm
PORTVERSION= 5.0
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= http://www.websimulations.com/download/
+MASTER_SITES= # none
MAINTAINER= ports@FreeBSD.org
-COMMENT= A flight simulator for X11
+COMMENT= Arial combat simulator for X11
LICENSE= GPLv2
+OPTIONS_DEFINE= SOUND
+
USES= perl5
USE_XORG= x11
GNU_CONFIGURE= yes
+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}/
-MAN6= acm.6
+SOUND_LIB_DEPENDS= libaudio.so:${PORTSDIR}/audio/nas
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.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
+.if empty(PORT_OPTIONS:MSOUND)
+CONFIGURE_ENV+= ac_cv_lib_audio_AuCloseServer=no
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>