# $Id$
PortSystem 1.0

name		pmk
version		0.10.4

categories	devel
platforms	darwin 
maintainers	wyuenho

description	An alternative to GNU autoconf, GNU libtool and pkg-config.
long_description	The pmk project tries to provide an alternative to \
			GNU autoconf, GNU libtool and pkg-config. It also \
			provides a basic BSD install like tool and a source \
			scanner to help building of pmkfiles.
homepage	http://pmk.sourceforge.net/

master_sites	sourceforge
checksums	md5     0a82cca7cb4912eed6eea133ce7b399b \
		sha1    0c3392226a89aac264afda0252d0e0a719c85564 \
		rmd160  ea93ac1f71404cf7e42a6659f299d458c54aad6f

patchfiles	patch-detect_cpu_asm.s.diff patch-pmkcfg.sh

configure {
	system "cd ${worksrcpath} && env SYSCONFDIR=${prefix}/etc ./pmkcfg.sh -p ${prefix}"
}

post-activate {
	system "${prefix}/bin/pmksetup"
}