summaryrefslogtreecommitdiff
path: root/games/xscorch/Makefile
blob: cee70f570864aada00b5ef1d75b1412fcfca982c (plain) (blame)
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
# Created by: will
# $FreeBSD$

PORTNAME=	xscorch
PORTVERSION=	0.2.1
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://www.xscorch.org/releases/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Multiplayer tank shoot-em-up

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

OPTIONS_DEFINE=	MIKMOD
OPTIONS_DEFAULT=	MIKMOD

USES=		perl5
USE_GNOME=	gtk20
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

MAN6=		xscorch.6

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MMIKMOD}
LIB_DEPENDS+=	mikmod.2:${PORTSDIR}/audio/libmikmod
CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+=--disable-sound
.endif

.include <bsd.port.mk>