svn commit: r359192 - head/Mk/Uses
Baptiste Daroussin
bapt at FreeBSD.org
Wed Jun 25 06:57:39 UTC 2014
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 at 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
More information about the svn-ports-all
mailing list