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

PORTNAME=   teg
PORTVERSION=    0.11.1
PORTREVISION=   5
CATEGORIES= games gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

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

USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix intlhack libgnomeui lthack
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  teg.schemas

post-patch:
    @${GREP} -lR " LIST_NEXT" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
        's| LIST_NEXT| TEG_LIST_NEXT|g'

.include <bsd.port.mk>