Import ports-mgmt/porttools version 0.99_6
[dports.git] / ports-mgmt / porttools / Makefile
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 $
3
4 PORTNAME=       porttools
5 PORTVERSION=    0.99
6 PORTREVISION=   6
7 CATEGORIES=     ports-mgmt
8 MASTER_SITES=   SF
9
10 MAINTAINER=     joemann@beefree.free.de
11 COMMENT=        Tools for testing and submitting port updates and new ports
12
13 LICENSE=        BSD
14
15 RUN_DEPENDS=    portlint:${PORTSDIR}/ports-mgmt/portlint \
16                 cdiff:${PORTSDIR}/textproc/cdiff \
17                 sudo:${PORTSDIR}/security/sudo
18
19 .if !defined(NOPORTDOCS)
20 INSTALL_TARGET= install install-docs
21 .endif
22
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}"
29 .endif
30 .if defined(PORTEPOCH)
31 MAKE_ENV+=      PORTEPOCH="${PORTEPOCH}"
32 .endif
33
34 MAN1=           port.1
35 MAN5=           porttools.5
36
37 OPTIONS_DEFINE= NEWFILE
38 OPTIONS_DEFAULT=        NEWFILE
39
40 NEWFILE_DESC=   Enable newfile support
41
42 .include <bsd.port.options.mk>
43
44 .if ${PORT_OPTIONS:MNEWFILE}
45 RUN_DEPENDS+=   newfile:${PORTSDIR}/devel/newfile
46 .endif
47
48 .include <bsd.port.mk>