Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/meson.mk
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# Provide support for Meson based projects | # Provide support for Meson based projects | ||||
# | # | ||||
# Feature: meson | # Feature: meson | ||||
# Usage: USES=meson | # Usage: USES=meson | ||||
# | # | ||||
# The following files are bundled in source tar files. | # The following files are bundled in source tar files. | ||||
# meson.build - Instructions for meson like autoconf configure, | # meson.build - Instructions for meson like autoconf configure, | ||||
# there is no changeable parts in the file. | # there is no changeable parts in the file. | ||||
# meson_options.txt - All the options meson understands | # meson_options.txt - All the options meson understands | ||||
# | # | ||||
# Variables for ports: | # Variables for ports: | ||||
# MESON_ARGS - Arguments passed to meson | # MESON_ARGS - Arguments passed to meson | ||||
# format: -Denable_foo=true | # format: -Denable_foo=true | ||||
# MESON_BUILD_DIR - Path to the build directory | # MESON_BUILD_DIR - Path to the build directory relative to ${WRKSRC} | ||||
# Default: ${WRKSRC}/_build | # Default: _build | ||||
# | # | ||||
# MAINTAINER: gnome@FreeBSD.org | # MAINTAINER: gnome@FreeBSD.org | ||||
.if !defined(_INCLUDE_USES_MESON_MK) | .if !defined(_INCLUDE_USES_MESON_MK) | ||||
_INCLUDE_USES_MESON_MK= yes | _INCLUDE_USES_MESON_MK= yes | ||||
# Sanity check | # Sanity check | ||||
.if !empty(meson_ARGS) | .if !empty(meson_ARGS) | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |