aboutsummaryrefslogtreecommitdiffstats
path: root/games/jumpnbump/Makefile
blob: 029e2031143f72aef93cc0545e8d7f667b15f4a6 (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
55
# New ports collection makefile for:    jumpnbump
# Date created:             23 September 2002
# Whom:                 Alessandro Gatti <a.gatti@tiscali.it>
#
# $FreeBSD$
#

PORTNAME=   jumpnbump
PORTVERSION=    1.41
CATEGORIES= games
MASTER_SITES=   http://www.jumpbump.mine.nu/port/ \
    http://www.vlaadworld.net/jumpnbump/ \
    http://jumpnbump.linuxsys.de/

MAINTAINER= gurkan@linuks.mine.nu
COMMENT=    A fun multiplayer game with cute fluffy bunnies and bloody explosions

LIB_DEPENDS=    SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
        SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer

.if !defined (WITHOUT_TCL)
RUN_DEPENDS+=   wish8.0:${PORTSDIR}/x11-toolkits/tk80
PLIST_SUB +=    WITH_TCL=""
.else
PLIST_SUB +=    WITH_TCL="@comment "
.endif

MAN6=   jumpnbump.6

.if !defined (WITHOUT_TCL)
pre-everything::
    @${ECHO_MSG} "Define WITHOUT_TCL to disable the X11 frontend."
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/jumpnbump ${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${WRKSRC}/gobpack ${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${WRKSRC}/jnbpack ${PREFIX}/bin/
    ${INSTALL_PROGRAM} ${WRKSRC}/jnbunpack ${PREFIX}/bin/
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/data/jumpbump.dat ${DATADIR}/
.if !defined(WITHOUT_TCL)
    ${INSTALL_SCRIPT} ${WRKSRC}/jnbmenu.tcl ${PREFIX}/bin/jnbmenu
.endif
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/jumpnbump.6 ${MANPREFIX}/man/man6/
    ${INSTALL_MAN} ${WRKSRC}/jumpnbump.html ${DOCSDIR}
.for i in jumpnbump_levelmaking.htm level.pcx making1.gif making2.gif \
    making3.gif pack.gif
    ${INSTALL_MAN} ${WRKSRC}/levelmaking/$i ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>