aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtetrinet/Makefile
blob: cf106dac6abf31fb95eae750cd0b6125aab4dea4 (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
# New ports collection makefile for:    gtetrinet
# Date created:             27 Feb 2000
# Whom:                 Dan Papasian <bugg@bugg.strangled.net>
#
# $FreeBSD$

PORTNAME=   gtetrinet
PORTVERSION=    0.7.11
PORTREVISION=   4
CATEGORIES= games gnome ipv6
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=    gnome2

MAINTAINER= ports@FreeBSD.org
COMMENT=    A version of the popular TetriNET multiplayer tetris clone

USE_GETTEXT=    yes
USE_BZIP2=  yes
USE_GNOME=  esound gnomehack gnomeprefix gnometarget libgnomeui
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --bindir=${PREFIX}/bin --enable-ipv6

MAN6=       gtetrinet.6
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>