aboutsummaryrefslogtreecommitdiffstats
path: root/games/xscorch/Makefile
blob: 2c4132f7af3aeab1cfa634a73a56850bf56db3da (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:    xscorch
# Date created:             19 Apr 2000
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   xscorch
PORTVERSION=    0.2.0
PORTREVISION=   5
CATEGORIES= games
MASTER_SITES=   http://chaos2.org/xscorch/ \
        http://www.xscorch.org/releases/

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    mikmod.2:${PORTSDIR}/audio/libmikmod

USE_XORG=   xpm
USE_GNOME=  gtk12
WANT_GNOME= yes
USE_PERL5=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-gtk
MAKE_JOBS_SAFE= yes

MAN6=       xscorch.6
NO_MANCOMPRESS= yes

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomeprefix gnomelibs
PKGNAMESUFFIX=  -gnome
.else
CONFIGURE_ARGS+=    --without-gnome
.endif

post-patch:
    @${REINPLACE_CMD} -e 's,MSG_NOSIGNAL,0,' \
        ${WRKSRC}/snet/tcpnet/tn_internal.c \
        ${WRKSRC}/snet/tcpnet/tn_read.c

.include <bsd.port.post.mk>