From owner-dev-commits-ports-main@freebsd.org Tue May 25 02:50:39 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A38386422F3; Tue, 25 May 2021 02:50:39 +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 4Fpz8v4GQyz3KLf; Tue, 25 May 2021 02:50:39 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 78FD615FB5; Tue, 25 May 2021 02:50:39 +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 14P2odQ8007164; Tue, 25 May 2021 02:50:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14P2od4X007163; Tue, 25 May 2021 02:50:39 GMT (envelope-from git) Date: Tue, 25 May 2021 02:50:39 GMT Message-Id: <202105250250.14P2od4X007163@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mark Linimon Subject: git: 411aa79977ad - main - lang/mono: convert to metaport. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: linimon X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 411aa79977ad64f430a29ed6c2f1065a7399bb25 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2021 02:50:39 -0000 The branch main has been updated by linimon: URL: https://cgit.FreeBSD.org/ports/commit/?id=411aa79977ad64f430a29ed6c2f1065a7399bb25 commit 411aa79977ad64f430a29ed6c2f1065a7399bb25 Author: Mark Linimon AuthorDate: 2021-05-14 18:56:40 +0000 Commit: Mark Linimon CommitDate: 2021-05-25 02:46:58 +0000 lang/mono: convert to metaport. PR: 251795 --- lang/mono/Makefile | 92 +++++------------------------------------------------- 1 file changed, 7 insertions(+), 85 deletions(-) diff --git a/lang/mono/Makefile b/lang/mono/Makefile index e8094d46e013..2d0a743ecc59 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -1,94 +1,16 @@ -# Created by: Yukihiro Nakai - PORTNAME= mono -PORTVERSION= 5.10.1.57 -PORTREVISION= 3 +PORTVERSION= ${MONO_DEFAULT} CATEGORIES= lang -MASTER_SITES= https://download.mono-project.com/sources/mono/ -DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} +#MASTER_SITES= # not applicable +#DISTFILES= # not applicable MAINTAINER= mono@FreeBSD.org -COMMENT= Open source implementation of .NET Development Framework - -LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE - -ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 powerpc - -BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ - bash:shells/bash \ - cmake>0:devel/cmake -LIB_DEPENDS= libinotify.so:devel/libinotify -RUN_DEPENDS= ${PY_PILLOW} \ - ca_root_nss>=0:security/ca_root_nss - -CONFLICTS_INSTALL= czmq-3* - -OPTIONS_DEFINE= MONOLITE NLS X11 -OPTIONS_DEFAULT= MONOLITE X11 -OPTIONS_SUB= yes - -MONOLITE_DESC= Use monolite to bootstrap mcs (otherwise use installed mcs) -MONOLITE_DISTFILES= monolite-linux-${MONOLITE_VERSION}-latest.tar.gz:monolite -MONOLITE_MASTER_SITES= http://download.mono-project.com/monolite/:monolite -MONOLITE_VERSION= 1051000004 - -NLS_CONFIGURE_OFF= --disable-nls -NLS_USES= gettext - -X11_USES= display:test - -USES= autoreconf bison compiler:c11 cpe gmake iconv libtool \ - pathfix perl5 python:3.6+ shebangfix tar:bzip2 -USE_PERL5= build -GNU_CONFIGURE= yes -USE_LDCONFIG= yes -SHEBANG_FILES= scripts/mono-heapviz mono/mini/genmdesc.py mono/tests/test_lldb.py -BINARY_ALIAS= python=${PYTHON_CMD} - -CONFIGURE_ARGS= --disable-dtrace --enable-btls -CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no - -MAKE_ENV= MONO_SHARED_DIR="${WRKDIR}" \ - INSTALL_STRIP_FLAG="${STRIP}" \ - TZ=UTC - -TEST_ARGS= -k -TEST_TARGET= check - -PORTSCOUT= limit:^\d+\.\d+\.[1-9]\d* - -LOCALBASE?= /usr/local -.if !exists(${LOCALBASE}/bin/mcs) -OPTIONS_SLAVE= MONOLITE -.endif - -post-extract-MONOLITE-on: - ${MKDIR} ${WRKSRC}/mcs/class/lib/monolite-linux - ${MV} ${WRKDIR}/monolite-linux-${MONOLITE_VERSION}-latest ${WRKSRC}/mcs/class/lib/monolite-linux/${MONOLITE_VERSION} +COMMENT= Meta-port for the default version of the Mono language -post-patch: - ${REINPLACE_CMD} -e 's|^#!/bin/bash|#!/usr/bin/env bash|g' \ - ${WRKSRC}/scripts/mono-find-provides.in \ - ${WRKSRC}/scripts/mono-find-requires.in \ - ${WRKSRC}/scripts/mono-test-install - ${FIND} ${WRKSRC} -name '*.sh' | ${XARGS} ${REINPLACE_CMD} \ - -e 's|^#!/bin/bash|#!/bin/sh|g' - ${SED} 's/tarball/${PORTVERSION}/' ${WRKSRC}/mono/mini/Makefile.am.in \ - > ${WRKSRC}/mono/mini/Makefile.am - ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}|g' \ - ${WRKSRC}/mcs/class/corlib/System/Environment.cs \ - ${WRKSRC}/external/corefx/src/System.Runtime.Extensions/src/System/Environment.Unix.cs - ${REINPLACE_CMD} -e 's|/usr/share/.mono|${PREFIX}/share/mono|g' \ - ${WRKSRC}/man/mono-configuration-crypto.1 \ - ${WRKSRC}/man/mono.1 \ - ${WRKSRC}/man/mozroots.1 +USES= metaport -post-configure: - ${REINPLACE_CMD} -e 's|share\/man|man|g' \ - ${WRKSRC}/mcs/jay/Makefile +RUN_DEPENDS= mono:lang/mono${MONO_DEFAULT} -post-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/mono +WRKSRC= ${WRKDIR} .include