aboutsummaryrefslogtreecommitdiffstats
path: root/games/teg/Makefile
blob: b4b6dccfa32c9799de3c6e4b5063eb363e7878cf (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
# New ports collection makefile for:    teg
# Date created:             31 October 2000
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   teg
PORTVERSION=    0.11.2
PORTREVISION=   5
CATEGORIES= games gnome
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    A turn-based strategy game for GNOME

USE_GNOME=  gnomehack gnomeprefix intlhack libgnomeui
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-ggz

GCONF_SCHEMAS=  teg.schemas

post-patch:
    @${GREP} -lR " LIST_NEXT" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
        's| LIST_NEXT| TEG_LIST_NEXT|g'
    @${REINPLACE_CMD} -e '/^SUBDIRS/s|pl||g' \
        ${WRKSRC}/docs/gnome-help/Makefile.in

.include <bsd.port.mk>