# New ports collection makefile for:	kdoc
# Date created:				4 March 2001
# Whom:					Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD: ports/textproc/kdoc/Makefile,v 1.3 2001/03/28 09:58:40 demon Exp $
#

PORTNAME=	kdoc
PORTVERSION=	2.1
CATEGORIES=	textproc kde
MASTER_SITES=	${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	stable/${PORTVERSION}/distribution/tar/generic/src

MAINTAINER=	demon@FreeBSD.org

USE_BZIP2=	yes

.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500007
BROKEN=		"Requires Perl version 5.6.0"
.endif

USE_GMAKE=	yes
GNU_CONFIGURE=	yes

MAN1=		kdoc.1 qt2kdoc.1 makekdedoc.1
pre-configure:
	${PERL} -pi -e "s#share/kdoc#lib/perl5/site_perl/${PERL_VER}#" ${WRKSRC}/Makefile.in

.include <bsd.port.post.mk>
