blob: 1f82ede64c7f6f33d012f2bd8d0bc429838f9382 (
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
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Dishanker Rajakulendren <draj@oceanfree.net>
# $FreeBSD$
PORTNAME= RealTimeBattle
PORTVERSION= 1.0.8
DISTVERSIONSUFFIX= -Ext
PORTREVISION= 10
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}-1.0.x/${PORTNAME}%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Robot programming game for UNIX
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
USES= gettext gmake perl5 pkgconfig python tar:bzip2
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-rtb-dir=${PREFIX}/lib/${PORTNAME}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DESKTOP_ENTRIES="${PORTNAME}" "" "" "${PORTNAME:tl}" "" ""
OPTIONS_DEFINE= DOCS
post-patch:
.for i in configure
@${REINPLACE_CMD} -e 's|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g ; \
s|\\$${top_builddir}/intl/libintl.a|-lintl|g ; \
/^DOCS_DIR/s|=.*|=$${prefix}/share/doc/${PORTNAME}| ; \
/test/s| == | = |g' ${WRKSRC}/${i}
.endfor
.for i in Documentation/Makefile.in
@${REINPLACE_CMD} -e '/COPYING/d' ${WRKSRC}/${i}
.endfor
.for i in team-framework/createrobot.sh \
team-framework/createrobotconf.sh
@${REINPLACE_CMD} -e 's| sed| gsed|g' ${WRKSRC}/${i}
.endfor
.include <bsd.port.mk>
|