Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 06:57:39 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359192 - head/Mk/Uses
Message-ID:  <201406250657.s5P6vdkf035070@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jun 25 06:57:38 2014
New Revision: 359192
URL: http://svnweb.freebsd.org/changeset/ports/359192
QAT: https://qat.redports.org/buildarchive/r359192/

Log:
  Add USES=makeinfo that will handle the build dependency on the makeinfo utility
  using the base version if exists of the port version if it doesn't exists in
  base

Added:
  head/Mk/Uses/makeinfo.mk   (contents, props changed)

Added: head/Mk/Uses/makeinfo.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/Mk/Uses/makeinfo.mk	Wed Jun 25 06:57:38 2014	(r359192)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+#
+# handle dependency on the makeinfo port
+#
+# Feature:	makeinfo
+# Usage:	USES=makeinfo
+# Valid ARGS:	build (default, implicit), run, both
+#
+# MAINTAINER: portmgr@FreeBSD.org
+
+.if !defined(_INCLUDE_USES_MAKEINFO_MK)
+_INCLUDE_USES_MAKEINFO_MK=	yes
+
+.if defined(makeinfo_ARGS)
+IGNORE=	USES=makeinfo - expects no arguments
+.endif
+
+.if !exists(/usr/bin/makeinfo)
+BUILD_DEPENDS+=	makeinfo:${PORTSDIR}/devel/texinfo
+.endif
+
+.endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406250657.s5P6vdkf035070>