From nobody Wed Aug 3 15:20:57 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LybCs5d4Rz4Xvmx; Wed, 3 Aug 2022 15:20:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LybCs5Bzlz3qkf; Wed, 3 Aug 2022 15:20:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659540057; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DamSebpZObQQHgSmqge/5F1f50TR01BSFJ3EzwtPVlM=; b=tpsidbFYRM1BBuQ9ovJD4P9BekdUiZmNba2A83qTEST6A1THQ5HnF0KRlLrB2Hz5EWROe1 2acAXQEiGF1qzQjC2mbq1XzQgWJ8M3t+RaT+0eZCvweWtt4R+fuo0ciVHzSrJnW3nrQQBu zEMbPBVK8Y16f6hbY8YfIDxEuQRgAvseIS4dyfMPTlo1T5Co3YhnR8pXATWqFDY2N3fniA EJNR2x8RrNV7FOQ5SdHFBJF+o1TxyHDP5gihAkr9//XYYnUdNcpoaMgjVwYLBat8ae0MjZ hr486OZ3qcE8pacJ05VHyCJr0I21pVj3JTRAMsNKvosrRq/ktzNq2q/EJSDE1g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LybCs4G8wzwSM; Wed, 3 Aug 2022 15:20:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 273FKvlM019231; Wed, 3 Aug 2022 15:20:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 273FKv0e019230; Wed, 3 Aug 2022 15:20:57 GMT (envelope-from git) Date: Wed, 3 Aug 2022 15:20:57 GMT Message-Id: <202208031520.273FKv0e019230@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 46ba65cae81e - main - devel/muon: new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 46ba65cae81e63eede6ea176245e27110e37cfd5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659540057; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DamSebpZObQQHgSmqge/5F1f50TR01BSFJ3EzwtPVlM=; b=Rk0by3XdtxZpm2A0y8ao89ZA5WwHJXnE9OmnDsoxMQKWzPYP3xJbc6AwYdNCk/D3kyWIgG DkRQroaA/KWvrUxZbVRaeT58kHBb6Zame2ubqJdDI52Ij4xoe56Gisi9ohz/UC2Bmd1P5c rd/Rk+iq/AIP5eGkx1yRhm4pHBhfn2CFXYXmBCLPgWLDnNjIi6InWa0x0Wrey7FbhCgvUK h9AJkn6wptPxadTget+2oiQ5K5xVzeEsnGN1CX6SoLv0djK8MsBliKWW+D8mV2MZyiOnzm 1lof5aWImvEXhNBxZaNMGoS2dg1B0FxwOS+BPDFcMVgwzSiGeruyVPKtyWDoNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659540057; a=rsa-sha256; cv=none; b=dJtMI/lnFh/hvcDTLaQ28ooCNnDHdJ8Lu+z0mVWID5VGasfS7iR0pb3lCEOLoEOWxG3xiv W4kno0g6J9a4rLqe9+by2A6e2e8uotIXfTAbMI20l0GE9QYaCi8x8d6jKj3e+dcRNpUMNB QfU8VpaUYqjQRnB+/aGYMvhOc01//AyHLTpEuocg66ctg/8D+a8D6z0XIRGtTukvQeIZss xHhXcRmA36wftxixiaPc7WUWzV5q2oAwKGOLwE+b13jLgLYmn9JYNmyTycx8Q1ZcnRIGuy b7yNtNyISrYokv8DJ+fTOGwhbAol7SeVUME3gwwwM9Q7+0XhEJgsdKwsj0w/0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=46ba65cae81e63eede6ea176245e27110e37cfd5 commit 46ba65cae81e63eede6ea176245e27110e37cfd5 Author: Baptiste Daroussin AuthorDate: 2022-08-03 15:19:58 +0000 Commit: Baptiste Daroussin CommitDate: 2022-08-03 15:20:48 +0000 devel/muon: new port Meson compatible build system written in c99 --- devel/Makefile | 1 + devel/muon/Makefile | 36 ++++++++++++++++++++++++++++++++++++ devel/muon/distinfo | 3 +++ devel/muon/pkg-descr | 18 ++++++++++++++++++ 4 files changed, 58 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 87a4102790b4..6857610b80d2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1539,6 +1539,7 @@ SUBDIR += mspdebug SUBDIR += mstch SUBDIR += mtbl + SUBDIR += muon SUBDIR += mustache SUBDIR += mutagen SUBDIR += myrepos diff --git a/devel/muon/Makefile b/devel/muon/Makefile new file mode 100644 index 000000000000..0713b2cbaba2 --- /dev/null +++ b/devel/muon/Makefile @@ -0,0 +1,36 @@ +PORTNAME= muon +PORTVERSION= 0.0.1.p1 +CATEGORIES= devel +MASTER_SITES= https://git.sr.ht/~lattis/muon/archive/ +DISTNAME= b44e90f + +MAINTAINER= bapt@FreeBSD.org +COMMENT= Build system compatible with meson + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= ninja pkgconfig + +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTNAME} +BUILD_WRKSRC= ${WRKSRC}/_build +INSTALL_WRKSRC= ${WRKSRC}/_build + +ALL_TARGET= +PLIST_FILES= bin/muon \ + share/man/man1/muon.1.gz \ + share/man/man5/meson.build.5.gz + +post-patch: +# this confuses some of the FreeBSD configure targets + @${RM} -r ${WRKSRC}/tests/project/common + +do-configure: + @(cd ${WRKSRC} && \ + ${SH} bootstrap.sh && \ + ./muon setup -Dlibcurl=disabled -Dlibarchive=disabled ${BUILD_WRKSRC}) + +do-install: + @(${SETENV} ${MAKE_ENV} ${BUILD_WRKSRC}/muon -C ${BUILD_WRKSRC} install) + +.include diff --git a/devel/muon/distinfo b/devel/muon/distinfo new file mode 100644 index 000000000000..25d52fb3e3d9 --- /dev/null +++ b/devel/muon/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659537739 +SHA256 (b44e90f.tar.gz) = 926d5de4b4cee8ca047168d0611824081a982592349bc2fb0ddb99bcee07f79b +SIZE (b44e90f.tar.gz) = 442889 diff --git a/devel/muon/pkg-descr b/devel/muon/pkg-descr new file mode 100644 index 000000000000..3785f6c7d51e --- /dev/null +++ b/devel/muon/pkg-descr @@ -0,0 +1,18 @@ +muon is an implementation of the meson build system in c99 with minimal +dependencies. + +# Non-features +* bug-for-bug compatibility with meson. In fact, muon aspires to be stricter + than meson in cases where meson's implementation seems error prone. muon uses + the official meson documentation as its specification. +* cli compatibility with meson. muon has different flags, subcommands, etc., and + should not be renamed/symlinked to meson. + +# Features +* muon analyze - a static analyzer for meson.build files. Capable of doing type + inference, checking unused variables, undeclared variables, etc. +* muon fmt_unstable - a meson.build code formatter +* An interactive stepping debugger with the dbg() function. +* Fast + +WWW: https://muon.build/