1 # Created by: Sergei Kolobov <sergei@kolobov.com>
2 # $FreeBSD: ports/ports-mgmt/porttools/Makefile,v 1.35 2012/12/11 22:31:45 svnexp Exp $
10 MAINTAINER= joemann@beefree.free.de
11 COMMENT= Tools for testing and submitting port updates and new ports
15 RUN_DEPENDS= portlint:${PORTSDIR}/ports-mgmt/portlint \
16 cdiff:${PORTSDIR}/textproc/cdiff \
17 sudo:${PORTSDIR}/security/sudo
19 .if !defined(NOPORTDOCS)
20 INSTALL_TARGET= install install-docs
23 MAKE_ENV= DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}"
24 # Make the version information of porttools itself
25 # available for inclusion in the PRs generated by it.
26 MAKE_ENV+= PORTVERSION="${PORTVERSION}"
27 .if defined(PORTREVISION)
28 MAKE_ENV+= PORTREVISION="${PORTREVISION}"
30 .if defined(PORTEPOCH)
31 MAKE_ENV+= PORTEPOCH="${PORTEPOCH}"
37 OPTIONS_DEFINE= NEWFILE
38 OPTIONS_DEFAULT= NEWFILE
40 NEWFILE_DESC= Enable newfile support
42 .include <bsd.port.options.mk>
44 .if ${PORT_OPTIONS:MNEWFILE}
45 RUN_DEPENDS+= newfile:${PORTSDIR}/devel/newfile
48 .include <bsd.port.mk>