f86a87c735
- While we are here: - Make the affected sed pattern more flexible with regard to the repository path from which the port was checked out. - When handling -d <dir>, if the port's directory does not exist, fix the path used in the first check for an alternative path. - Bump PORTREVISION. PR: ports/166593 Submitted by: Johannes Joemann <joemann@beefree.free.de> (maintainer)
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection makefile for: porttools
|
|
# Date created: 2003-06-18
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= porttools
|
|
PORTVERSION= 0.99
|
|
PORTREVISION= 6
|
|
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(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
|
|
|
|
OPTIONS= NEWFILE "Enable newfile support" on
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if !defined(WITHOUT_NEWFILE)
|
|
RUN_DEPENDS+= newfile:${PORTSDIR}/devel/newfile
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|