Ticket #484: Portfile.2

File Portfile.2, 1.1 KB (added by wmalik@…, 21 years ago)

Portfile

Line 
1# $Id$
2
3PortSystem    1.0
4name          cook
5version       2.23
6categories    devel
7maintainers   waqar@opendarwin.org
8description   Cook is a replacement for the traditional make(1) tool.
9long_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.
15homepage      http://www.canb.auug.org.au/~millerp/cook/cook.html
16platforms     darwin
17master_sites  http://www.canb.auug.org.au/~millerp/${name}/
18checksums     md5 f8c6721a3d96a641e748904e12defd25
19pre-configure {
20        reinplace "s|\$(RPM_BUILD_ROOT)|${destroot}|g" \
21                   "${worksrcpath}/Makefile.in"
22}
23
24pre-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            }