Date: Sun, 2 Feb 2020 05:37:22 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> 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 Message-ID: <202002020537.0125bMLl076733@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <freebsd@sysctl.cz> 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 <bsd.port.mk> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002020537.0125bMLl076733>