# $Id: Portfile,v 1.4 2006/03/31 18:48:41 matt Exp $

PortSystem 1.0
name			yencode
version			0.46
revision		1
categories		news sysutils
platforms		darwin
maintainers		darwinports@opendarwin.org
homepage		http://www.yencode.org/
description		yENC encoder/decoder

long_description	This is yencode, an encoder/decoder package for the \
			Usenet "yENC" format.

master_sites		http://www.yencode.org/download/source/

checksums		md5 6af054f69c781cafa620063878a831ea

depends_lib		lib:libiconv:libiconv

configure.env		LDFLAGS="-multiply_defined suppress"
				

configure.args		--with-libiconv-prefix=${prefix}

destroot.destdir	prefix=${destroot}${prefix} \
			mandir=${destroot}${prefix}/share/man

post-destroot {		file delete -force ${destroot}${prefix}/lib/charset.alias \
					${destroot}${prefix}/share/locale/locale.alias
			}

