Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152627916
D23195.id66805.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D23195.id66805.diff
View Options
Index: premake5/Makefile
===================================================================
--- /dev/null
+++ premake5/Makefile
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME= premake5
+DISTVERSIONPREFIX= v
+DISTVERSION= 5.0.0
+DISTVERSIONSUFFIX= -alpha14
+CATEGORIES= devel
+
+MAINTAINER= maintainer@email.cz
+COMMENT= Build script creation tool
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= gmake
+MAKE_ARGS= CC="${CC}" CXX="${CXX}"
+
+USE_GITHUB= yes
+GH_ACCOUNT= premake
+GH_PROJECT= premake-core
+GH_TAGNAME= 00052e1
+
+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: premake5/distinfo
===================================================================
--- /dev/null
+++ premake5/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1571572892
+SHA256 (premake-premake-core-v5.0.0-alpha14-00052e1_GH0.tar.gz) = b20bec653ebc4b7fed8196173aafb534f18a410e1198b5a8332e804ce0c5bbb9
+SIZE (premake-premake-core-v5.0.0-alpha14-00052e1_GH0.tar.gz) = 3948116
Index: premake5/files/patch-Bootstrap.mak
===================================================================
--- /dev/null
+++ 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: premake5/files/patch-tests_test
===================================================================
--- /dev/null
+++ 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: premake5/pkg-descr
===================================================================
--- /dev/null
+++ 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
Fri, Apr 17, 2:56 AM (11 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31635415
Default Alt Text
D23195.id66805.diff (2 KB)
Attached To
Mode
D23195: [NEW PORT] devel/premake5 : Build script creation tool
Attached
Detach File
Event Timeline
Log In to Comment