aboutsummaryrefslogtreecommitdiffstats
path: root/games/jumpnbump/Makefile
blob: b36084abdf85b1fec06608fb4a97fb7c73c4e439 (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
# 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

USE_SDL=    mixer sdl

.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>