# New ports collection makefile for:	yudit
# Version required:	1.3
# Date created:		October 3, 1998
# Whom:			rch@richard.eu.org
#
# $FreeBSD: ports/editors/yudit/Makefile,v 1.6 1999/11/25 03:41:49 jseger Exp $
#

DISTNAME=	yudit-1.3
CATEGORIES=	editors converters print
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/editors/X

MAINTAINER=	rch@WriteMe.Com

LIB_DEPENDS=	ttf.4:${PORTSDIR}/print/freetype
BUILD_DEPENDS=	msgfmt:${PORTSDIR}/devel/gettext

CONFIGURE_ENV=	LC_ALL=C CXXFLAGS="${CFLAGS}"
GNU_CONFIGURE=	YES
MAKE_ENV=	LC_ALL=C
MAN1=		yudit.1 makeumap.1 stripumap.1 uniconv.1 uniprint.1
USE_GMAKE=	YES

pre-patch:
	${CP} ${FILESDIR}/*map ${WRKSRC}/data

post-install:
	cd ${PREFIX}/bin/ && strip yudit stripumap uniconv uniprint

.include <bsd.port.mk>
