aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bb/Makefile
blob: 49ef42e644e3b82428aed68a2033773601050600 (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
# New ports collection makefile for:    bb
# Date created:             22 June 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=       bb
PORTVERSION=        1.2
CATEGORIES=     misc
MASTER_SITES=       ftp://ftp.ta.jcu.cz/pub/aa/bb/ \
            ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games

MAINTAINER=     ports@FreeBSD.org

LIB_DEPENDS=        aa.1:${PORTSDIR}/graphics/aalib

MAKEFILE=       makefile
GNU_CONFIGURE=      yes

pre-build:
    @ cd ${WRKSRC}/mikunix; make

do-install:
    @ ${INSTALL_PROGRAM} ${WRKSRC}/bb ${PREFIX}/bin
    @ ${INSTALL_PROGRAM} ${WRKSRC}/bb_snd_server ${PREFIX}/bin
    @ ${MKDIR} ${PREFIX}/share/bb
.for file in bb bb2 bb3
    @ ${INSTALL_DATA} ${WRKSRC}/${file}.s3m ${PREFIX}/share/bb
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ANNOUNCE COPYING README
    @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>