# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD: tags/RELEASE_10_1_0/ports-mgmt/porttools/Makefile 351984 2014-04-24 04:15:46Z xmj $

PORTNAME=	porttools
PORTVERSION=	1.02
CATEGORIES=	ports-mgmt

MAINTAINER=	xmj@chaot.net
COMMENT=	Tools for testing and submitting port updates and new ports

LICENSE=	BSD2CLAUSE

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

USE_GITHUB=	yes
GH_ACCOUNT=	xmj
GH_COMMIT=	c4db0e1

# Make the version information of porttools itself
# available for inclusion in the PRs generated by it.
MAKE_ENV+=	DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}" PORTVERSION="${PORTVERSION}"

OPTIONS_DEFINE=		DOCS NEWFILE
OPTIONS_DEFAULT=	NEWFILE

NEWFILE_DESC=	Enable newfile support

NEWFILE_RUN_DEPENDS=	newfile:${PORTSDIR}/devel/newfile

DOCS_INSTALL_TARGET=	 install install-docs

.include <bsd.port.mk>
