# New ports collection makefile for:	porttools
# Date created:		2003-06-18
# Whom:			Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD: ports/ports-mgmt/porttools/Makefile,v 1.30 2012/03/04 12:08:43 crees Exp $
#

PORTNAME=	porttools
PORTVERSION=	0.99
PORTREVISION=	4
CATEGORIES=	ports-mgmt
MASTER_SITES=	SF

MAINTAINER=	joemann@beefree.free.de
COMMENT=	Tools for testing and submitting port updates and new ports

RUN_DEPENDS=	portlint:${PORTSDIR}/ports-mgmt/portlint \
		cdiff:${PORTSDIR}/textproc/cdiff \
		sudo:${PORTSDIR}/security/sudo

.if !defined(WITHOUT_NEWFILE)
RUN_DEPENDS+=	newfile:${PORTSDIR}/devel/newfile
.endif

.if !defined(NOPORTDOCS)
INSTALL_TARGET=	install install-docs
.endif

MAKE_ENV=	DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}"
# Make the version information of porttools itself
# available for inclusion in the PRs generated by it.
MAKE_ENV+=	PORTVERSION="${PORTVERSION}"
.if defined(PORTREVISION)
MAKE_ENV+=	PORTREVISION="${PORTREVISION}"
.endif
.if defined(PORTEPOCH)
MAKE_ENV+=	PORTEPOCH="${PORTEPOCH}"
.endif

MAN1=		port.1
MAN5=		porttools.5

.include <bsd.port.mk>
