# $Id: Portfile,v 1.6 2006/06/16 05:46:58 mww Exp $

PortSystem 1.0

name			smake
version			1.2a35
categories		devel
platforms		darwin
maintainers		mww@opendarwin.org
description		highly portable make program with automake features
long_description	Smake is a highly portable make program with automake \
				features. It is currently mainly targeted to be used \
				with the makefiles system. 

homepage		http://www.fokus.fraunhofer.de/research/cc/berlios/employees/joerg.schilling/private/smake.html
master_sites	ftp://ftp.berlios.de/pub/smake/alpha/
checksums		sha1 aaddaea0a8bc06064a29c8a9b1014bfc48564103
use_bzip2		yes

worksrcdir		${name}-1.2

use_configure	no

build.type		gnu

pre-destroot	{
	file delete ${worksrcpath}/INSTALL
}
destroot.destdir	INS_BASE=${destroot}${prefix} \
					MANDIR=share/man \
					INSUSR=`id -u` INSGRP=`id -g`
post-destroot	{
	file delete -force ${destroot}${prefix}/share/man/man5 \
		${destroot}${prefix}/lib ${destroot}${prefix}/include
}
