blob: 1ab21e8a8e12204961c6f6a13419647f19217f98 (
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
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: battleball
# Date created: 18 December 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= battleball
PORTVERSION= 2.1
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://freebsd.aeternal.net/ports/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D single/multiplayer military soccer game for X Window System
USE_GL= glu gl
UES_XORG= xmu xi
WRKSRC= ${WRKDIR}/battleball-2.1-src
CFLAGS+= -Wno-deprecated ${PTHREAD_CFLAGS}
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
XLIBS="-L${LOCALBASE}/lib -lX11" \
LIBS="-lm ${XLIBS} ${PTHREAD_LIBS}" \
GLINCS="-I${LOCALBASE}/include" \
GLLIBS="-lXi -lXmu -lXext -L${LOCALBASE}/lib -lGL"
PLIST_FILES= bin/battleball
.if !defined(NOPORTDOCS)
PORTDOCS= CHANGELOG README
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042 && ${ARCH} == "amd64"
BROKEN= Does not compile
.endif
.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
BROKEN= Does not compile on ia64 or sparc64
.endif
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/battleball ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>
|