1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/Mk/Uses/fmake.mk
Gerald Pfeifer 5b4f2ad658 Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
2014-03-15 10:31:54 +00:00

24 lines
482 B
Makefile

# $FreeBSD$
#
# Provide support to use the legacy FreeBSD make
#
# Feature: fmake
# Usage: USES=fmake
#
# MAINTAINER: portmgr@FreeBSD.org
.if !defined(_INCLUDE_USES_FMAKE_MK)
_INCLUDE_USES_FMAKE_MK= yes
.if defined(fmake_ARGS)
IGNORE= Incorrect 'USES+= fmake:${fmake_ARGS}' fmake takes no arguments
.endif
.if defined(.PARSEDIR)
FMAKE= ${LOCALBASE}/bin/fmake
BUILD_DEPENDS+= ${FMAKE}:${PORTSDIR}/devel/fmake
CONFIGURE_ENV+= MAKE=${FMAKE}
MAKE_CMD?= ${FMAKE}
.endif
.endif