correction.
[AROS-Ports.git] / game / koules / mmakefile.src
blobf0aa7b33f312586120a75f307ccec156ee6c6281
1 # $Id$
3 include $(SRCDIR)/config/aros-contrib.cfg
5 #MM- ports-game : ports-game-$(AROS_TARGET_CPU)
7 #MM- ports-game-i386 : ports-game-koules
8 #MM- ports-game-arm : ports-game-koules
10 #MM  ports-game-koules : includes linklibs workbench-libs-lowlevel ports-game-koules-cpy \
11 #MM  ports-game-koules-data ports-game-koules-fetch
13 #MM  ports-game-koules-data : ports-game-koules-fetch
15 #MM  ports-game-koules-cpy : ports-game-koules-fetch
17 #MM  ports-game-koules-quick : ports-game-koules-fetch
20 REPOSITORIES := http://archives.aros-exec.org/share/game/action/
21 ARCHBASE     := koules-src-1.19
22 TARGETDIR    := $(AROS_CONTRIB)/Games/Action/Koules
24 FILES := source/framebuffer source/koules source/menu source/amiga source/gameplan
25 FILES := $(addprefix $(PORTSDIR)/koules/$(ARCHBASE)/,$(FILES))
27 ifneq ("","$(strip $(WARN_ERROR))")
28 CONFIG_CFLAGS := $(subst $(WARN_ERROR),,$(CONFIG_CFLAGS))
29 endif
31 %build_prog mmake=ports-game-koules progname=Koules \
32     files=$(FILES) targetdir=$(TARGETDIR) \
33     uselibs="lowlevel"
36 %fetch mmake=ports-game-koules-fetch archive=$(ARCHBASE) destination=$(PORTSDIR)/koules \
37     location=$(PORTSSOURCEDIR) archive_origins=$(REPOSITORIES) suffixes="tar.bz2"
40 %copy_dir_recursive mmake=ports-game-koules-data src=$(PORTSDIR)/koules/$(ARCHBASE)/sounds \
41     dst=$(TARGETDIR)/sounds
44 CPYFILES := Koules.guide Koules.guide.info Koules.info
46 %copy_files_q mmake=ports-game-koules-cpy files=$(CPYFILES) src=$(PORTSDIR)/koules/$(ARCHBASE) \
47     dst=$(TARGETDIR)
50 %common