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

PORTNAME=   battleball
PORTVERSION=    2.0
CATEGORIES= games
MASTER_SITES=   http://www.cs.utexas.edu/users/pahardin/
DISTNAME=   ${PORTNAME}.${PORTVERSION:S/.//}.src

MAINTAINER= will@FreeBSD.org

USE_IMAKE=  yes
WRKSRC=     ${WRKDIR}/bb-2.0

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

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

.include <bsd.port.mk>