PortSystem 1.0

name			icompile
version			0.5.7
revision		1
categories		devel
license			none
platforms		any
supported_archs	noarch
maintainers		nomaintainer
description		icompile is an autocompile tool for C++ projects
long_description	iCompile is the easiest way to compile your C++ \
				projects on Linux and OS X. It creates executables, \
				static and shared libraries, and HTML documentation \
				with no per-project configuration or scripts

homepage		http://ice.sourceforge.net/
master_sites	sourceforge:ice
checksums		md5     c0b0d9c6cac98ec758666658ce8be286 \
				sha1    0f2ef850de68057bcfb9e7044b0463e04ee0008a \
				rmd160  16c35c4f53034a732aad3689e0610cd9f8860575

depends_run		bin:python:python27

patch		{
	reinplace "s|/usr/bin/python|/usr/bin/env python|1" ${workpath}/icompile
}

use_configure	no

build			{}

destroot	{
	xinstall -d -m 755 ${destroot}${prefix}/bin \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 755 ${workpath}/icompile ${destroot}${prefix}/bin
	xinstall -m 644 ${workpath}/manual.html \
		${destroot}${prefix}/share/doc/${name}
}
