forwarding correcttions (NicJA):
[AROS-Ports.git] / scientific / mathomatic / mmakefile.src
blobea726258d60995feb0cc975deb9bacabbeaa3f4e
1 # $Id$
3 include $(SRCDIR)/config/aros-contrib.cfg
5 #MM- ports-scientific : ports-scientific-mathomatic
7 #MM  ports-scientific-mathomatic : includes linklibs \
8 #MM     ports-scientific-mathomatic-fetch \
9 #MM     ports-scientific-mathomatic-docs \
10 #MM     ports-scientific-mathomatic-cpy
12 #MM  ports-scientific-mathomatic-docs : ports-scientific-mathomatic-fetch
14 #MM  ports-scientific-mathomatic-quick : ports-scientific-mathomatic-fetch
16 REPOSITORIES := https://github.com/mfillpot/mathomatic/archive
17 ARCHBASE     := mathomatic-16.0.5
18 TARGETDIR    := $(AROS_CONTRIB)/Utilities/Scientific/Mathomatic
20 NOWARN_FLAGS := $(NOWARN_CPP)
21 USER_CFLAGS  := $(NOWARN_FLAGS) -DVERSION=\"16.0.5\"
23 FILES := \
24     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/main \
25     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/globals \
26     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/am \
27     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/solve \
28     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/help \
29     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/parse \
30     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/cmds \
31     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/simplify \
32     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/factor \
33     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/super \
34     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/unfactor \
35     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/poly \
36     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/diff \
37     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/integrate \
38     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/complex \
39     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/complex_lib \
40     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/list \
41     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/gcd \
42     $(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/factor_int
44 %build_prog mmake=ports-scientific-mathomatic progname=Mathomatic \
45     files=$(FILES) targetdir=$(TARGETDIR)
47 %fetch mmake=ports-scientific-mathomatic-fetch archive=$(ARCHBASE) destination=$(PORTSDIR)/mathomatic \
48     location=$(PORTSSOURCEDIR) archive_origins=$(REPOSITORIES) suffixes="tar.gz" \
49     patches_specs=$(ARCHBASE)-aros.diff:mathomatic-$(ARCHBASE):-p1
52 %copy_dir_recursive mmake=ports-scientific-mathomatic-docs \
53 src=$(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE)/doc dst=$(TARGETDIR)/Docs
56 CPYFILES := changes.txt COPYING mathomatic.1 README.txt
58 %copy_files_q mmake=ports-scientific-mathomatic-cpy files=$(CPYFILES) src=$(PORTSDIR)/mathomatic/mathomatic-$(ARCHBASE) \
59     dst=$(TARGETDIR)
61 %common