1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name cook |
---|
5 | version 2.23 |
---|
6 | categories devel |
---|
7 | maintainers waqar@opendarwin.org |
---|
8 | description Cook is a replacement for the traditional make(1) tool. |
---|
9 | long_description Cook is a tool for constructing files. It is given a \ |
---|
10 | set of files to create, and recipes of how to create \ |
---|
11 | them. In any non-trivial program there will be \ |
---|
12 | prerequisites to performing the actions necessary to \ |
---|
13 | creating any file, such as include files. Cook provides \ |
---|
14 | a mechanism to define these. |
---|
15 | homepage http://www.canb.auug.org.au/~millerp/cook/cook.html |
---|
16 | platforms darwin |
---|
17 | master_sites http://www.canb.auug.org.au/~millerp/${name}/ |
---|
18 | checksums md5 f8c6721a3d96a641e748904e12defd25 |
---|
19 | pre-configure { |
---|
20 | reinplace "s|\$(RPM_BUILD_ROOT)|${destroot}|g" \ |
---|
21 | "${worksrcpath}/Makefile.in" |
---|
22 | } |
---|
23 | |
---|
24 | pre-install { |
---|
25 | system "install -d ${destroot}${prefix}/bin" |
---|
26 | system "install -d ${destroot}${prefix}/man/man1" |
---|
27 | system "install -d ${destroot}${prefix}/lib/cook" |
---|
28 | system "install -d ${destroot}${prefix}/share/cook" |
---|
29 | } |
---|