# $Id$

PortSystem 1.0

name		cook
version		2.34
categories	devel
maintainers	nomaintainer
license		GPL-3+

description	Cook is a replacement for the traditional make(1) tool.
long_description	\
	Cook is a tool for constructing files. It is given a \
	set of files to create, and recipes of how to create \
	them. In any non-trivial program there will be \
	prerequisites to performing the actions necessary to \
	creating any file, such as include files. Cook provides \
	a mechanism to define these.
homepage	http://miller.emu.id.au/pmiller/software/cook/
platforms	darwin
master_sites	${homepage}

checksums	sha1    6ecc0f0c38c9bc418796fa3e140accb404eb0358 \
		rmd160  4b7c8cadc10a788e5e4651bb72039d6de7a14894

depends_lib	port:libiconv port:gettext
patchfiles	patch-common__help.c.diff
pre-configure {
	reinplace "s|__PREFIX__|${prefix}|g" \
		"${worksrcpath}/common/help.c"
}
use_parallel_build	no
build.env-append	RPM_BUILD_ROOT=${destroot}
destroot.env-append	RPM_BUILD_ROOT=${destroot}
configure.args  --infodir=${prefix}/share/info --mandir=${prefix}/share/man \
                --datadir=${prefix}/share

livecheck.type	none