# New ports collection makefile for:    hanmutt
# Version required:     0.60h9
# Date created:         4 Apr 1997
# Whom:                 Choi Jun Ho <junker@jazz.snu.ac.kr>
#
# $Id$
#

DISTNAME=	mutt-0.60-h9
PKGNAME=	kr-hanmutt-0.60h9
CATEGORIES=	korean mail
MASTER_SITES=	ftp://romance.kaist.ac.kr/pub/linux/han/hanmutt/

MAINTAINER=     junker@jazz.snu.ac.kr
EXTRACT_SUFX=	.tgz

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=$PREFIX --libdir=$PREFIX/share/hanmutt
MAN1=		mutt.1


post-install:
	@####   don't strip until out of beta peroid
	@#strip ${PREFIX}/bin/mutt
.if !defined(NOPORTDOCS)
	@${ECHO} "===>   Installing HanMutt documentation"
	@${MKDIR} ${PREFIX}/share/doc/hanmutt && chmod a+rx ${PREFIX}/share/doc/hanmutt
	@${INSTALL_MAN} ${WRKSRC}/doc/* \
		${PREFIX}/share/doc/hanmutt
	@(cd ${WRKSRC} ; ${INSTALL_DATA} sample.muttrc  \
		${PREFIX}/share/doc/hanmutt)
	@(cd ${WRKSRC} ; ${INSTALL_DATA} hanmutt.muttrc README.hanmutt.ks  \
		${PREFIX}/share/doc/hanmutt)
.endif

.include <bsd.port.mk>
