aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtetrinet/Makefile
blob: 9f9dd940b3a164277b5a01da7344f778ffa16baf (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
# Created by: Dan Papasian <bugg@bugg.strangled.net>
# $FreeBSD$

PORTNAME=   gtetrinet
PORTVERSION=    0.7.11
PORTREVISION=   9
CATEGORIES= games gnome ipv6
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= ports@FreeBSD.org
COMMENT=    Version of the popular TetriNET multiplayer Tetris clone

LICENSE=    GPLv2 # or later
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       pathfix gettext gmake pkgconfig tar:bzip2
USE_GNOME=  esound gnomeprefix libgnomeui
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --bindir=${PREFIX}/bin --enable-ipv6

GCONF_SCHEMAS=  gtetrinet.schemas

pre-configure:
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
        's|[(]prefix[)]/games|{bindir}|g; /_DISABLE_DEPRECATED/d'

.include <bsd.port.mk>