summaryrefslogtreecommitdiff
path: root/games/wormux/Makefile
blob: beeedeae2c75eee3f0bd2ddc4fe0bf9a28ea0c05 (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
65
66
# $NetBSD: Makefile,v 1.7 2008/01/18 05:06:36 tnn Exp $
#

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

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

PKG_DESTDIR_SUPPORT=	user-destdir

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} ${DESTDIR:Q}${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"