1999-05-01 04:38:12 +02:00
|
|
|
# New ports collection makefile for: battleball
|
|
|
|
# Date created: 18 December 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1999-05-01 04:38:12 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:45:49 +02:00
|
|
|
PORTNAME= battleball
|
2000-04-17 00:03:02 +02:00
|
|
|
PORTVERSION= 2.1
|
2009-01-24 13:12:54 +01:00
|
|
|
PORTREVISION= 3
|
1999-05-01 04:38:12 +02:00
|
|
|
CATEGORIES= games
|
2005-10-29 19:53:11 +02:00
|
|
|
MASTER_SITES= http://freebsd.aeternal.net/ports/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
1999-05-01 04:38:12 +02:00
|
|
|
|
2007-10-11 23:52:03 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= 3D single/multiplayer military soccer game for X Window System
|
1999-05-01 04:38:12 +02:00
|
|
|
|
2008-03-19 07:35:06 +01:00
|
|
|
USE_GL= glu gl
|
2009-01-25 21:52:29 +01:00
|
|
|
USE_XORG= xmu xi
|
2000-04-17 00:03:02 +02:00
|
|
|
WRKSRC= ${WRKDIR}/battleball-2.1-src
|
2005-04-29 11:16:30 +02:00
|
|
|
CFLAGS+= -Wno-deprecated ${PTHREAD_CFLAGS}
|
|
|
|
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
|
- 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 19:56:05 +02:00
|
|
|
XLIBS="-L${LOCALBASE}/lib -lX11" \
|
2005-04-29 11:16:30 +02:00
|
|
|
LIBS="-lm ${XLIBS} ${PTHREAD_LIBS}" \
|
- 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 19:56:05 +02:00
|
|
|
GLINCS="-I${LOCALBASE}/include" \
|
|
|
|
GLLIBS="-lXi -lXmu -lXext -L${LOCALBASE}/lib -lGL"
|
2005-04-29 11:16:30 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/battleball
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= CHANGELOG README
|
|
|
|
.endif
|
2003-06-05 00:43:38 +02:00
|
|
|
|
2004-11-18 09:33:08 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-11-23 21:05:34 +01:00
|
|
|
.if ${OSVERSION} >= 700042 && ${ARCH} == "amd64"
|
|
|
|
BROKEN= Does not compile
|
|
|
|
.endif
|
|
|
|
|
2004-11-18 09:33:08 +01:00
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
|
2007-11-20 03:58:10 +01:00
|
|
|
BROKEN= Does not compile on ia64 or sparc64
|
2004-11-18 09:33:08 +01:00
|
|
|
.endif
|
|
|
|
|
1999-05-01 04:38:12 +02:00
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/battleball ${PREFIX}/bin
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-08-06 21:54:40 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-04-29 11:16:30 +02:00
|
|
|
.for file in ${PORTDOCS}
|
2001-08-06 21:54:40 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
1999-05-01 04:38:12 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2004-11-18 09:33:08 +01:00
|
|
|
.include <bsd.port.post.mk>
|