From owner-svn-ports-all@freebsd.org Sun Feb 2 05:37:24 2020 Return-Path: Delivered-To: svn-ports-all@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 6F79E239D23; Sun, 2 Feb 2020 05:37:24 +0000 (UTC) (envelope-from swills@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 489KTw2Mftz4WqZ; Sun, 2 Feb 2020 05:37:24 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 478A5B03A; Sun, 2 Feb 2020 05:37:24 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0125bOBH076740; Sun, 2 Feb 2020 05:37:24 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0125bMLl076733; Sun, 2 Feb 2020 05:37:22 GMT (envelope-from swills@FreeBSD.org) Message-Id: <202002020537.0125bMLl076733@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sun, 2 Feb 2020 05:37:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r524809 - in head/devel: . premake5 premake5/files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel: . premake5 premake5/files X-SVN-Commit-Revision: 524809 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2020 05:37:24 -0000 Author: swills Date: Sun Feb 2 05:37:22 2020 New Revision: 524809 URL: https://svnweb.freebsd.org/changeset/ports/524809 Log: devel/premake5: Build script creation tool Describe your software project just once, using Premake's simple and easy to read syntax, and build it everywhere. WWW: https://premake.github.io/ This is version 5 alpha PR: 241365 Submitted by: Martin Filla Added: head/devel/premake5/ head/devel/premake5/Makefile (contents, props changed) head/devel/premake5/distinfo (contents, props changed) head/devel/premake5/files/ head/devel/premake5/files/patch-Bootstrap.mak (contents, props changed) head/devel/premake5/files/patch-tests___tests.lua (contents, props changed) head/devel/premake5/files/patch-tests_test (contents, props changed) head/devel/premake5/pkg-descr (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Feb 2 04:51:19 2020 (r524808) +++ head/devel/Makefile Sun Feb 2 05:37:22 2020 (r524809) @@ -3933,6 +3933,7 @@ SUBDIR += pragmarcs SUBDIR += premake SUBDIR += premake4 + SUBDIR += premake5 SUBDIR += projectcenter SUBDIR += protobuf SUBDIR += protobuf-c Added: head/devel/premake5/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/premake5/Makefile Sun Feb 2 05:37:22 2020 (r524809) @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= premake5 +DISTVERSIONPREFIX= v +DISTVERSION= 5.0.0 +CATEGORIES= devel + +MAINTAINER= freebsd@sysctl.cz +COMMENT= Build script creation tool + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +ONLY_FOR_ARCHS= aarch64 amd64 i386 + +USES= dos2unix gmake +MAKE_ARGS= CC="${CC}" \ + CXX="${CXX}" + +USE_GITHUB= yes +GH_ACCOUNT= premake +GH_PROJECT= premake-core +GH_TAGNAME= 09ee833 + +DOS2UNIX_FILES= tests/_tests.lua +PLIST_FILES= bin/premake5 + +do-build: + cd ${WRKSRC} && ${GMAKE} -f Bootstrap.mak bsd + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/release/premake5 ${STAGEDIR}${PREFIX}/bin + +do-test: + cd ${WRKSRC}/tests && ./test + +.include Added: head/devel/premake5/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/premake5/distinfo Sun Feb 2 05:37:22 2020 (r524809) @@ -0,0 +1,3 @@ +TIMESTAMP = 1579128131 +SHA256 (premake-premake-core-v5.0.0-09ee833_GH0.tar.gz) = dd399b6046d8566e5a838421b33bcc64b2a1d2629e48d287964ab76c3a8acd25 +SIZE (premake-premake-core-v5.0.0-09ee833_GH0.tar.gz) = 3949266 Added: head/devel/premake5/files/patch-Bootstrap.mak ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/premake5/files/patch-Bootstrap.mak Sun Feb 2 05:37:22 2020 (r524809) @@ -0,0 +1,11 @@ +--- Bootstrap.mak.orig 2019-10-20 12:14:52 UTC ++++ Bootstrap.mak +@@ -90,7 +90,7 @@ bsd: $(SRC) + mkdir -p build/bootstrap + $(CC) -o build/bootstrap/premake_bootstrap -DPREMAKE_NO_BUILTIN_SCRIPTS -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"$(LUA_DIR)" -I"$(LUASHIM_DIR)" $? -lm + ./build/bootstrap/premake_bootstrap embed +- ./build/bootstrap/premake_bootstrap --to=build/bootstrap gmake2 ++ ./build/bootstrap/premake_bootstrap --to=build/bootstrap gmake + $(MAKE) -C build/bootstrap -j`getconf NPROCESSORS_ONLN` config=$(CONFIG) + + solaris: $(SRC) Added: head/devel/premake5/files/patch-tests___tests.lua ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/premake5/files/patch-tests___tests.lua Sun Feb 2 05:37:22 2020 (r524809) @@ -0,0 +1,12 @@ +--- tests/_tests.lua.orig 2019-11-16 06:02:45 UTC ++++ tests/_tests.lua +@@ -57,9 +57,4 @@ return { + -- Control system tests + "test_premake.lua", + "base/test_validation.lua", +- +- -- -- Toolset tests +- "tools/test_dotnet.lua", +- "tools/test_gcc.lua", +- "tools/test_msc.lua", + } Added: head/devel/premake5/files/patch-tests_test ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/premake5/files/patch-tests_test Sun Feb 2 05:37:22 2020 (r524809) @@ -0,0 +1,6 @@ +--- tests/test.orig 2019-10-20 12:36:40 UTC ++++ tests/test +@@ -1,2 +1,2 @@ + #!/bin/sh +-cd `dirname $0` && ../bin/debug/premake5 /file=../premake5.lua /scripts=.. $1 $2 $3 test ++cd `dirname $0` && ../bin/release/premake5 /file=../premake5.lua /scripts=.. $1 $2 $3 test Added: head/devel/premake5/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/premake5/pkg-descr Sun Feb 2 05:37:22 2020 (r524809) @@ -0,0 +1,4 @@ +Describe your software project just once, using Premake's +simple and easy to read syntax, and build it everywhere. + +WWW: https://premake.github.io/