# $Id: Portfile,v 1.6 2003/08/05 09:29:39 jkh Exp $

PortSystem 1.0
name		tnef2txt
version		1.4
categories	textproc
maintainers	mij@opendarwin.org
description	Converts Microsoft TNEF attachments to ASCII text
homepage	http://www.fiction.net/blong/programs/#tnef2txt
platforms	darwin

long_description This is a simple program used to decode Microsoft's \
		 Translation Neutral Encapsulation Format (TNEF), which \
		 is used by various Microsoft OS products to transfer \
		 MAPI information through text only gateways such as SMTP.

master_sites	http://www.fiction.net/blong/programs/tnef2txt/

checksums	md5 a32a9fe1d558f076c2b0d24b742661f6

patchfiles	patch-Makefile
configure	{}

build.target	tnef2txt

destroot	{ system "install -m 755 -d ${destroot}${prefix}/bin"
		  system "install -m 755 ${worksrcpath}/${portname} ${destroot}${prefix}/bin"
		  system "install -m 755 -d ${destroot}${prefix}/share/doc/${portname}"
		  system "install -m 644 apptnef.* ${destroot}${prefix}/share/doc/${portname}" }
