summaryrefslogtreecommitdiff
path: root/games/gtetrinet/Makefile
blob: 6f8b2c889ef65f8fd0c2f899c4694a4be302ee14 (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
# 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

USE_BZIP2=	yes
USES=		pathfix gettext gmake pkgconfig
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>