1SUMMARY="Simple utility that will automatically generate header files"
2DESCRIPTION="The makeheaders program is a simple utility that will \
3automatically generate all \".h\" files for large programming project based on \
4information gleaned from the \".c\" and/or \".cpp\" source files. It operates by \
5scanning the C and/or C++ source code, extracting appropriate macros, \
6structure and subroutine declarations and writing this declarations, in the \
7correct order, into the generated header files."
8HOMEPAGE="https://www.hwaci.com/sw/mkhdr/"
9COPYRIGHT="1993 D. Richard Hipp"
10LICENSE="BSD (2-clause)"
11REVISION="1"
12SOURCE_URI_1="https://fossil-scm.org/fossil/raw/src/makeheaders.c?name=49c76a6973d579ff0b346e5f73182fa72dd797cbb07e8b20612849dc2adef85d#noarchive"
13CHECKSUM_SHA256_1="90ebf170bd6244d2df83d42ee79f52f948b298074a4c7824282510cf29fe4518"
14SOURCE_FILENAME_1="makeheaders.c"
15SOURCE_URI_2="https://fossil-scm.org/fossil/raw/src/makeheaders.html?name=c09a2e625c04fe6ac83bcbe148af321f75a956eb#noarchive"
16CHECKSUM_SHA256_2="0a98bce30c25efa34063f3a62b297681d49fff9829e94216969955b4b3334722"
17SOURCE_FILENAME_2="makeheaders.html"
18
19ARCHITECTURES="all ?x86_gcc2 ?x86"
20
21PROVIDES="
22	makeheaders = $portVersion
23	cmd:makeheaders = $portVersion
24	"
25REQUIRES="
26	haiku
27	"
28
29BUILD_REQUIRES="
30	haiku_devel
31	"
32BUILD_PREREQUIRES="
33	cmd:gcc
34	"
35
36BUILD()
37{
38	gcc makeheaders.c -o makeheaders
39}
40
41INSTALL()
42{
43	install -m 0666 -d "$binDir"
44	install -m 0555 -t "$binDir" makeheaders
45
46	install -m 0755 -d "$developDocDir"
47	install -m 0644 -t "$developDocDir" $sourceDir2/makeheaders.html
48}
49