summaryrefslogtreecommitdiff
path: root/games/wormux/Makefile
blob: 78a82a6a6077ee34715ee0794972e6b01efb8744 (plain)
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
62
63
64
# $NetBSD: Makefile,v 1.5 2007/09/21 13:03:45 wiz Exp $
#

DISTNAME=	wormux-0.7.9
PKGREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://download.gna.org/wormux/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.wormux.org/
COMMENT=	Battle game

GNU_CONFIGURE=	yes
USE_LANGUAGES=	c c++
USE_PKGLOCALEDIR= yes
USE_TOOLS+=	pkg-config msgfmt
USE_DIRS+=	xdg-1.1

WSHDIRS+= music/ingame music/menu
WSHDIRS+= gfx
WSHDIRS+= team/gnuteam team/thunderbirdteam team/spipteam team/beastieteam \
	team/oooteam team/tuxteam team/workraveteam team/konqiteam \
	team/firefoxteam team/wilberteam team/snortteam team/nupikteam \
	team/phpteam
WSHDIRS+= sound/share/menu sound/default sound/francais sound/flying
WSHDIRS+= weapon/jet_pack weapon/cluster_bomb weapon/syringe weapon/lowgrav \
	weapon/construct weapon/ninja_rope weapon/suicide weapon/disco_grenade \
	weapon/bazooka weapon/polecat weapon/shotgun weapon/mine weapon/sound \
	weapon/gun weapon/gnu weapon/teleportation weapon/snipe_rifle \
	weapon/supertux weapon/air_attack weapon/blowtorch weapon/m16 \
	weapon/grenade weapon/bounce_ball weapon/baseball weapon/airhammer \
	weapon/anvil weapon/dynamite weapon/parachute weapon/riot_bomb \
	weapon/skip_turn
WSHDIRS+= body/gnuteam body/thunderbirdteam body/spipteam body/beastieteam \
	body/oooteam body/tuxteam body/workraveteam body/konqiteam \
	body/firefoxteam body/wilberteam body/snortteam body/nupikteam \
	body/phpteam
WSHDIRS+= interface/cursors
WSHDIRS+= menu/img
WSHDIRS+= object
WSHDIRS+= font
WSHDIRS+= map/champignon map/paradis map/qingqong map/hell map/aquarium \
	map/desert map/monkeybubbleworld map/cowland map/grenouilles \
	map/leafs map/goodandevil map/arbre map/space map/cheese \
	map/wildwestdv map/noel map/electronik map/catacombes map/prehistorik \
	map/battlenight map/banquise map/pirates map/vulcano map/island \
	map/araignee map/halloween map/easterisland
WSHDIRS+= game_mode

pre-install:
	for d in ${WSHDIRS}; do \
	 ${INSTALL_DATA_DIR} ${PREFIX}/share/wormux/$$d; \
	done

.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../devel/SDL_gfx/buildlink3.mk"
.include "../../net/SDL_net/buildlink3.mk"
.include "../../textproc/libxml++/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"