Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143069582
D23195.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D23195.diff
View Options
Index: devel/premake5/Makefile
===================================================================
--- devel/premake5/Makefile
+++ devel/premake5/Makefile
@@ -0,0 +1,35 @@
+# $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= gmake
+MAKE_ARGS= CC="${CC}" CXX="${CXX}"
+
+USE_GITHUB= yes
+GH_ACCOUNT= premake
+GH_PROJECT= premake-core
+GH_TAGNAME= 09ee833
+
+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>
Index: devel/premake5/distinfo
===================================================================
--- devel/premake5/distinfo
+++ devel/premake5/distinfo
@@ -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
Index: devel/premake5/files/patch-Bootstrap.mak
===================================================================
--- devel/premake5/files/patch-Bootstrap.mak
+++ devel/premake5/files/patch-Bootstrap.mak
@@ -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)
Index: devel/premake5/files/patch-tests___tests.lua
===================================================================
--- devel/premake5/files/patch-tests___tests.lua
+++ devel/premake5/files/patch-tests___tests.lua
@@ -0,0 +1,13 @@
+--- tests/_tests.lua.orig 2019-11-16 06:02:45 UTC
++++ tests/_tests.lua
+@@ -59,7 +59,7 @@ return {
+ "base/test_validation.lua",
+
+ -- -- Toolset tests
+- "tools/test_dotnet.lua",
+- "tools/test_gcc.lua",
+- "tools/test_msc.lua",
++ -- "tools/test_dotnet.lua",
++ -- "tools/test_gcc.lua",
++ -- "tools/test_msc.lua",
+ }
Index: devel/premake5/files/patch-tests_test
===================================================================
--- devel/premake5/files/patch-tests_test
+++ devel/premake5/files/patch-tests_test
@@ -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
Index: devel/premake5/pkg-descr
===================================================================
--- devel/premake5/pkg-descr
+++ devel/premake5/pkg-descr
@@ -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/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 26, 3:14 PM (20 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28038661
Default Alt Text
D23195.diff (3 KB)
Attached To
Mode
D23195: [NEW PORT] devel/premake5 : Build script creation tool
Attached
Detach File
Event Timeline
Log In to Comment