# New ports collection makefile for:	mmencode
# Date created:		30 September 1999
# Whom:			kbyanc
#
# $FreeBSD: ports/converters/mmencode/Makefile,v 1.5 2003/03/07 05:57:57 ade Exp $
#

PORTNAME=	mmencode
PORTVERSION=	2.7
CATEGORIES=	converters
MASTER_SITES=	ftp://thumper.bellcore.com/pub/nsb/ \
		http://ftp.dmz.digex.net/pub/packages/mail/metamail/ \
		ftp://ftp.funet.fi/pub/unix/mail/metamail/
DISTNAME=	mm${PORTVERSION}
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	kbyanc@posi.net
COMMENT=	Translate to and from mail-oriented encoding formats

WRKSRC=		${WRKDIR}/${DISTNAME}/src/metamail

MAN1=		mmencode.1

ALL_TARGET=	mmencode

do-install:
	@cd ${WRKSRC}		&& ${INSTALL_PROGRAM} mmencode ${PREFIX}/bin
	@cd ${WRKSRC}/../man	&& ${INSTALL_MAN} mmencode.1 ${PREFIX}/man/man1
	@cd ${PREFIX}/bin	&& ${LN} -s mmencode mimencode

.include <bsd.port.mk>
