2000-06-30 22:44:04 +00:00
|
|
|
# New ports collection makefile for: RealTimeBattle
|
|
|
|
# Date created: 30 June 2000
|
|
|
|
# Whom: Dishanker Rajakulendren <draj@oceanfree.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= RealTimeBattle
|
2005-10-18 09:15:29 +00:00
|
|
|
PORTVERSION= 1.0.8
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 9
|
2000-06-30 22:44:04 +00:00
|
|
|
CATEGORIES= games
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
MASTER_SITES= SF${PORTNAME:}
|
2005-01-12 19:12:38 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-Ext
|
2000-06-30 22:44:04 +00:00
|
|
|
|
2004-02-09 10:14:57 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:06:51 +00:00
|
|
|
COMMENT= Robot programming game for UNIX
|
2000-06-30 22:44:04 +00:00
|
|
|
|
2005-01-12 19:12:38 +00:00
|
|
|
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
|
|
|
|
|
2005-10-18 09:15:29 +00:00
|
|
|
USE_BZIP2= yes
|
2011-08-11 19:20:17 +00:00
|
|
|
USE_GNOME= gtk20
|
2005-01-12 19:12:38 +00:00
|
|
|
USE_PERL5= yes
|
2008-03-25 16:23:13 +00:00
|
|
|
USE_PYTHON= yes
|
2005-01-12 19:12:38 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-rtb-dir=${PREFIX}/lib/${PORTNAME}
|
|
|
|
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2003-05-18 10:15:24 +00:00
|
|
|
|
2005-01-12 19:12:38 +00:00
|
|
|
post-patch:
|
2005-10-18 09:15:29 +00:00
|
|
|
.for file in configure
|
|
|
|
@${REINPLACE_CMD} -e '/test/s| == | = |g ; \
|
|
|
|
s|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g ; \
|
|
|
|
s|\\$${top_builddir}/intl/libintl.a|-lintl|g' ${WRKSRC}/${file}
|
2005-01-12 19:12:38 +00:00
|
|
|
.endfor
|
2005-10-18 09:15:29 +00:00
|
|
|
.for file in Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|Documentation||g' ${WRKSRC}/${file}
|
2005-01-12 19:12:38 +00:00
|
|
|
.endfor
|
2005-10-18 09:15:29 +00:00
|
|
|
.for file in team-framework/createrobot.sh \
|
|
|
|
team-framework/createrobotconf.sh
|
2005-01-12 19:12:38 +00:00
|
|
|
@${REINPLACE_CMD} -e 's| sed| gsed|g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
2004-09-17 22:47:50 +00:00
|
|
|
|
2004-03-14 07:10:49 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-01-12 19:12:38 +00:00
|
|
|
.for file in AUTHORS ChangeLog EXTRAROBOTS.README NEWS README TODO \
|
|
|
|
Documentation/RealTimeBattle-1.html \
|
|
|
|
Documentation/RealTimeBattle-2.html \
|
|
|
|
Documentation/RealTimeBattle-3.html \
|
|
|
|
Documentation/RealTimeBattle-4.html \
|
|
|
|
Documentation/RealTimeBattle-5.html \
|
|
|
|
Documentation/RealTimeBattle-6.html \
|
|
|
|
Documentation/RealTimeBattle.html \
|
|
|
|
Documentation/next.gif Documentation/prev.gif Documentation/toc.gif \
|
|
|
|
Documentation/next.png Documentation/prev.png Documentation/toc.png \
|
|
|
|
Documentation/RealTimeBattle.dvi \
|
|
|
|
Documentation/RealTimeBattle.sgml \
|
|
|
|
Documentation/RealTimeBattle.txt \
|
|
|
|
Documentation/RTB-Team-Framework-Tutorial.tar.gz
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
2003-05-18 10:15:24 +00:00
|
|
|
.endif
|
|
|
|
|
2004-12-10 10:24:06 +00:00
|
|
|
.include <bsd.port.mk>
|