summaryrefslogtreecommitdiff
path: root/games/jumpnbump/Makefile
blob: 4d0f5b542b0aed0d8bcff7a128225f1efea05ea7 (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
56
57
58
59
60
61
# New ports collection makefile for:	jumpnbump
# Date created:				23 September 2002
# Whom:					Alessandro Gatti <a.gatti@tiscali.it>
#
# $FreeBSD$
#

PORTNAME=	jumpnbump
PORTVERSION=	1.41
PORTREVISION=	3
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

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
BROKEN=		"Does not compile on alpha"
.endif

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