blob: 1124bbc1f2b40dc5fcc29f68f6142364ad260ff7 (
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
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= teg
PORTVERSION= 0.11.2
PORTREVISION= 7
CATEGORIES= games gnome
MAINTAINER= ports@FreeBSD.org
COMMENT= Turn-based strategy game for GNOME
LICENSE= GPLv2 # only
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= wfx
USES= gettext-tools gmake iconv libtool pathfix pkgconfig
USE_GNOME= gnomeprefix intlhack libgnomeui
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
GNU_CONFIGURE= yes
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>
|