aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bb/Makefile
blob: 313a8de03065bc0fc99564d1680fd84781f67211 (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
# Version required:         1.2
# Date created:             22 June 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=       bb-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} ${PREFIX}/share/doc/bb
.for file in ANNOUNCE COPYING README
    @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/bb
.endfor
.endif

.include <bsd.port.mk>