# $Id$

PortSystem 1.0

name			altermime
version			0.3.10
categories		mail
platforms		darwin
license			Permissive
maintainers		nomaintainer
description		integrated email manipulation utility
long_description	alterMIME is an integrated email/mailpack manipulation \
				utility. It adds and modifies headers, adds disclaimers, and \
				changes or removes embedded attachments.

homepage		http://www.pldaniels.com/altermime/
master_sites	${homepage}

checksums		md5     aaf0ad8029958a2dc6da3abb4dc178c2 \
				sha1    b94d83a86645b4916e4999e9cf41c09575e480ab \
				rmd160  e5d7f7ad1f0c7ed02e4cf85bd9233f5543e3b6cf

patchfiles		patch-Makefile.diff

use_configure	no

build.env		CC=${configure.cc} \
				CFLAGS="${configure.cflags}"

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
	xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL LICENCE README \
		${destroot}${prefix}/share/doc/${name}/
}