summaryrefslogtreecommitdiff
path: root/games/battleball/Makefile
blob: d6df74f6ece63a1b2e7da6bbd05e1210d46f7ec5 (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
# New ports collection makefile for:	battleball
# Date created:				18 December 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	battleball
PORTVERSION=	2.1
CATEGORIES=	games
MASTER_SITES=	http://tzo.linux.tucows.com/files/x11/entertain/ \
		http://fundy.linux.tucows.com/files/x11/entertain/ \
		http://207.211.212.35/pah/

DISTNAME=	${PORTNAME}.${PORTVERSION:S/.//}.src

MAINTAINER=	ports@FreeBSD.org

USE_X_PREFIX=	yes
USE_MESA=	yes
WRKSRC=		${WRKDIR}/battleball-2.1-src
MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}" \
		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/battleball ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in CHANGELOG README
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>