3 include $(SRCDIR)/config/aros-contrib.cfg
5 #MM- ports-graphics : ports-graphics-$(AROS_TARGET_CPU)
7 #MM- ports-graphics-i386 : ports-graphics-zunepaint
8 #MM- ports-graphics-m68k : ports-graphics-zunepaint
9 #MM- ports-graphics-ppc : ports-graphics-zunepaint
10 #MM- ports-graphics-arm : ports-graphics-zunepaint
11 #MM- ports-graphics-x86_64 : ports-graphics-zunepaint
13 #MM ports-graphics-zunepaint : \
14 #MM includes linklibs ports-graphics-zunepaint-fetch \
15 #MM ports-graphics-zunepaint-cpy ports-graphics-zunepaint-catalogs
17 #MM ports-graphics-zunepaint-quick : ports-graphics-zunepaint-fetch
19 REPOSITORIES := sf://zunetools
20 ARCHBASE := ZunePaint_v0.14
21 TARGETDIR := $(AROS_CONTRIB)/MultiMedia/Gfx/ZunePaint
24 USER_CFLAGS := $(NOWARN_FLAGS) -DZUNEPAINT -DAROS_ABI_V1
25 USER_INCLUDES:= -I$(PORTSDIR)/zunepaint/$(ARCHBASE)/zunepaint/src
37 Picture_GradientFill \
71 FILES := $(addprefix $(PORTSDIR)/zunepaint/$(ARCHBASE)/ZunePaint/src/,$(FILES))
73 ##DISABLED ZUNEPAINT_PATCHSPECS := $(ARCHBASE)-aros.diff:ZunePaint:-f,-p1
75 %build_prog mmake=ports-graphics-zunepaint progname=ZunePaint \
76 files=$(FILES) targetdir=$(TARGETDIR) \
77 uselibs="jpeg png z mui"
79 %fetch mmake=ports-graphics-zunepaint-fetch archive=$(ARCHBASE) destination=$(PORTSDIR)/zunepaint/$(ARCHBASE) \
80 location=$(PORTSSOURCEDIR) archive_origins=$(REPOSITORIES) suffixes="zip"
81 ##DISABLED patches_specs=$(ZUNEPAINT_PATCHSPECS)
83 %create_patch mmake=ports-graphics-zunepaint-create-patch archive=$(ARCHBASE) srcdir=ZunePaint suffixes="zip" destination=$(PORTSDIR)/zunepaint/$(ARCHBASE)
85 CPFILES := ZunePaint.info
87 %copy_files_q mmake=ports-graphics-zunepaint-cpy files=$(CPFILES) src=$(PORTSDIR)/zunepaint/$(ARCHBASE)/ZunePaint \
90 %copy_dir_recursive mmake=ports-graphics-zunepaint-catalogs src=$(PORTSDIR)/zunepaint/$(ARCHBASE)/ZunePaint//catalogs/french \
91 dst=$(TARGETDIR)/Catalogs/french