summaryrefslogtreecommitdiff
path: root/ports-mgmt/porttools/Makefile
blob: 532e4402deb2bac1139e7c88411a4486ee8c3d15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$

PORTNAME=	porttools
PORTVERSION=	1.00.2014.03.16
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=	f9e566d
GH_TAGNAME=	${GH_COMMIT}

# 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

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
INSTALL_TARGET=	install install-docs
.endif

.include <bsd.port.mk>