head 1.18; access; symbols pkgsrc-2026Q1:1.18.0.2 pkgsrc-2026Q1-base:1.18 pkgsrc-2025Q4:1.16.0.2 pkgsrc-2025Q4-base:1.16 pkgsrc-2025Q3:1.15.0.4 pkgsrc-2025Q3-base:1.15 pkgsrc-2025Q2:1.15.0.2 pkgsrc-2025Q2-base:1.15 pkgsrc-2025Q1:1.10.0.4 pkgsrc-2025Q1-base:1.10 pkgsrc-2024Q4:1.10.0.2 pkgsrc-2024Q4-base:1.10 pkgsrc-2024Q3:1.7.0.4 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.2 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.5.0.4 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.2 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.3.0.4 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.2 pkgsrc-2023Q2-base:1.3; locks; strict; comment @# @; 1.18 date 2026.02.06.10.04.36; author wiz; state Exp; branches; next 1.17; commitid MwQEYCXeWSFvIitG; 1.17 date 2026.01.07.08.46.44; author wiz; state Exp; branches; next 1.16; commitid 1wQ3ICD8eebefrpG; 1.16 date 2025.10.05.19.25.51; author js; state Exp; branches; next 1.15; commitid U70EDQkwOmfbOpdG; 1.15 date 2025.06.26.09.24.17; author triaxx; state Exp; branches; next 1.14; commitid 0hFQztDgKX5tJn0G; 1.14 date 2025.05.26.12.35.02; author triaxx; state Exp; branches; next 1.13; commitid Jq2NpXvhteCGMpWF; 1.13 date 2025.05.13.14.21.57; author triaxx; state Exp; branches; next 1.12; commitid GI8xYey8pVZgNKUF; 1.12 date 2025.04.19.07.57.43; author wiz; state Exp; branches; next 1.11; commitid 8J0gu7BGAw8XqDRF; 1.11 date 2025.04.17.21.50.31; author wiz; state Exp; branches; next 1.10; commitid xcIXAVA292fk6sRF; 1.10 date 2024.11.14.22.19.34; author wiz; state Exp; branches; next 1.9; commitid JmuDYqwL4erbdFxF; 1.9 date 2024.11.01.12.52.19; author wiz; state Exp; branches; next 1.8; commitid QB4Wk02mZPuBuWvF; 1.8 date 2024.11.01.00.51.33; author wiz; state Exp; branches; next 1.7; commitid QT27BdVP362gvSvF; 1.7 date 2024.05.29.16.32.18; author adam; state Exp; branches; next 1.6; commitid n8aFyEjEVZA0JUbF; 1.6 date 2024.05.16.06.14.47; author wiz; state Exp; branches; next 1.5; commitid kYKPUni8AkogJbaF; 1.5 date 2023.11.08.13.18.58; author wiz; state Exp; branches; next 1.4; commitid PsuHTklAIsF4bOLE; 1.4 date 2023.10.24.22.08.55; author wiz; state Exp; branches; next 1.3; commitid MTsrqKm6aGrQAVJE; 1.3 date 2023.05.09.17.31.02; author nikita; state Exp; branches; next 1.2; commitid iVV22UHKcoyEsjoE; 1.2 date 2023.05.08.22.37.31; author nikita; state Exp; branches; next 1.1; commitid WHi1hMQHAByPbdoE; 1.1 date 2023.05.03.17.43.00; author nikita; state Exp; branches; next ; commitid 3sjbkUl64lRYHxnE; desc @@ 1.18 log @*: recursive bump for nettle 4.0 shlib major bump @ text @# $NetBSD: Makefile,v 1.17 2026/01/07 08:46:44 wiz Exp $ PREMAKE5_VERSION= 5.0.0-beta7 DISTNAME= premake-${PREMAKE5_VERSION}-src PKGNAME= premake5-${PREMAKE5_VERSION:S/-beta7/.b7/} PKGREVISION= 3 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=premake/} GITHUB_PROJECT= premake-core GITHUB_RELEASE= v${PREMAKE5_VERSION} EXTRACT_SUFX= .zip MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://premake.github.io/ COMMENT= Build script generator LICENSE= modified-bsd USE_TOOLS+= gmake USE_CC_FEATURES+= c99 WRKSRC= ${WRKDIR} LUA_VERSIONS_ACCEPTED= 53 BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q} # I see no indication yet where or how this is used, but let's try # to avoid building the bundled one DEPENDS+= ${LUA_PKGPREFIX}-socket-[0-9]*:../../net/lua-socket .include "../../mk/bsd.prefs.mk" BUILD_DIRS+= build/bootstrap INSTALLATION_DIRS= bin LDFLAGS+= -lzip -L${BUILDLINK_PREFIX.libzip}/lib LDFLAGS+= -lcurl -L${BUILDLINK_PREFIX.curl}/lib LDFLAGS+= -lmbedtls -L${BUILDLINK_PREFIX.mbedtls3}/lib LDFLAGS+= -lz -L${BUILDLINK_PREFIX.zlib}/lib LDFLAGS+= -lm -ldl -luuid -llua LDFLAGS.Darwin+= -framework CoreFoundation SUBST_CLASSES+= mk SUBST_MESSAGE.mk= Fixing build to link against system libs SUBST_STAGE.mk= pre-build SUBST_FILES.mk= build/bootstrap/Premake5.make SUBST_SED.mk+= -e 's,DEFINES += -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN,DEFINES += -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DPREMAKE_COMPRESSION -DPREMAKE_CURL,g' SUBST_SED.mk+= -e 's,INCLUDES += -I../../contrib/lua/src -I../../contrib/luashim,INCLUDES += -I../../contrib/lua/src -I../../contrib/luashim -I${BUILDLINK_PREFIX.zlib}/include -I${BUILDLINK_PREFIX.libzip}/include -I${BUILDLINK_PREFIX.curl}/include/curl -I${BUILDLINK_PREFIX.mbedtls3}/include,g' BUNDLED_LUA_DEFINES?= -DLUA_USE_DLOPEN -DLUA_USE_POSIX BUNDLED_LUA_DIR= ${WRKSRC}/contrib/lua/src BUNDLED_LUA_SRC= ${BUNDLED_LUA_DIR}/lapi.c \ ${BUNDLED_LUA_DIR}/lbaselib.c \ ${BUNDLED_LUA_DIR}/lbitlib.c \ ${BUNDLED_LUA_DIR}/lcode.c \ ${BUNDLED_LUA_DIR}/lcorolib.c \ ${BUNDLED_LUA_DIR}/lctype.c \ ${BUNDLED_LUA_DIR}/ldblib.c \ ${BUNDLED_LUA_DIR}/ldebug.c \ ${BUNDLED_LUA_DIR}/ldo.c \ ${BUNDLED_LUA_DIR}/ldump.c \ ${BUNDLED_LUA_DIR}/lfunc.c \ ${BUNDLED_LUA_DIR}/lgc.c \ ${BUNDLED_LUA_DIR}/linit.c \ ${BUNDLED_LUA_DIR}/liolib.c \ ${BUNDLED_LUA_DIR}/llex.c \ ${BUNDLED_LUA_DIR}/lmathlib.c \ ${BUNDLED_LUA_DIR}/lmem.c \ ${BUNDLED_LUA_DIR}/loadlib.c \ ${BUNDLED_LUA_DIR}/lobject.c \ ${BUNDLED_LUA_DIR}/lopcodes.c \ ${BUNDLED_LUA_DIR}/loslib.c \ ${BUNDLED_LUA_DIR}/lparser.c \ ${BUNDLED_LUA_DIR}/lstate.c \ ${BUNDLED_LUA_DIR}/lstring.c \ ${BUNDLED_LUA_DIR}/lstrlib.c \ ${BUNDLED_LUA_DIR}/ltable.c \ ${BUNDLED_LUA_DIR}/ltablib.c \ ${BUNDLED_LUA_DIR}/ltm.c \ ${BUNDLED_LUA_DIR}/lundump.c \ ${BUNDLED_LUA_DIR}/lutf8lib.c \ ${BUNDLED_LUA_DIR}/lvm.c \ ${BUNDLED_LUA_DIR}/lzio.c # the upstream directive how to build this results in too much work # and errors. do-configure: # bootstrap premake5 # uses includes for some lua sources, has to use bundled lua. ${MKDIR} -p ${WRKSRC}/build/bootstrap cd ${WRKSRC} && \ ${MAKE_ENV} ${CC} -o build/bootstrap/premake_bootstrap \ ${CFLAGS} \ -DPREMAKE_NO_BUILTIN_SCRIPTS \ ${BUNDLED_LUA_DEFINES} \ -Icontrib/lua/src \ -Icontrib/luashim \ -I${BUILDLINK_PREFIX.libuuid}/include/uuid \ src/host/*.c ${BUNDLED_LUA_SRC} \ -L${PREFIX}/lib \ ${LDFLAGS} cd ${WRKSRC} && \ ./build/bootstrap/premake_bootstrap embed cd ${WRKSRC} && \ ./build/bootstrap/premake_bootstrap \ --to=build/bootstrap \ --zlib-src=none \ --curl-src=none \ --no-luasocket \ gmake do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/release/premake5 \ ${DESTDIR}${PREFIX}/bin/ # libm, libgcc, librt .include "../../lang/lua/luaversion.mk" .include "${LUA_PKGSRCDIR}/buildlink3.mk" .include "../../archivers/libzip/buildlink3.mk" .include "../../devel/libuuid/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../security/mbedtls3/buildlink3.mk" .include "../../www/curl/buildlink3.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.17 log @*: recursive bump for icu 78.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2025/10/05 19:25:51 js Exp $ d6 1 a6 1 PKGREVISION= 2 @ 1.16 log @*: rev bump for curl @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2025/06/26 09:24:17 triaxx Exp $ d6 1 a6 1 PKGREVISION= 1 @ 1.15 log @premake5: Update to 5.0.0-beta7 upstream changes: ----------------- Since 5.0-beta6: * PR #2455 Added premake manager extension to extensions.md (@@lolrobbe2) * PR #2458 Fix optimize('Debug') for xcode project generator (@@artamonovoleg) * PR #2459 Remove legacy page for third party usages implementation (@@nickclark2016) * PR #2460 Add basic support for tvOS (@@sbeca) * PR #2461 Fix vs200x_vcproj to properly handle NoManifest (@@NishiOwO) * PR #2464 Fix targetdir and objdir for Linux and Android (@@redorav) * PR #2471 Support powerpc (@@barracuda156) * PR #2474 Update zlib dependency to 1.3.1 (@@nickclark2016) * PR #2475 Separates the functionality for bundle and binary extensions (@@nickclark2016) * PR #2476 Handle `structmemberalign` for non-visual studio actions (@@Jarod42) * PR #2480 Added ARM build for MacOSX, added more artifacts (@@nickclark2016) * PR #2482 Bump vmactions/solaris-vm from 1.1.3 to 1.1.4 in the github-actions group (@@dependabot) * PR #2483 Fix git tagged builds (@@nickclark2016) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2025/05/26 12:35:02 triaxx Exp $ d6 1 @ 1.14 log @premake5: Fix package name version @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2025/05/13 14:21:57 triaxx Exp $ d3 1 a3 1 PREMAKE5_VERSION= 5.0.0-beta6 d5 1 a5 1 PKGNAME= premake5-${PREMAKE5_VERSION:S/-beta6/.b6/} d20 4 d28 1 a28 1 DEPENDS+= lua53-socket-[0-9]*:../../net/lua-socket a40 3 .if ${OPSYS} != "Darwin" LDFLAGS+= -lrt .endif d116 2 a117 1 .include "../../lang/lua53/buildlink3.mk" @ 1.13 log @premake5: Update to 5.0.0-beta6 pkgsrc changes: --------------- * Fix build on Darwin. * Split old patch-aa according to new mkpatches rules. upstream changes: ----------------- Since 5.0-beta5: * PR #2405 Use git to retrieve version instead of manually change `PREMAKE_VERSION`. (@@Jarod42) * PR #2432 Usages and Uses API (@@nickclark2016) * PR #2438 Added more documentation for usages and uses (@@nickclark2016) * PR #2440 Add documentation specifying that filters are space sensitive (@@nickclark2016) * PR #2442 Fix findlib and findheader on windows (@@Jarod42) * PR #2443 nuget python package error fix (@@hanagasira) * PR #2446 Added Instrumented Profiling Support (@@nickclark2016) * PR #2449 [bugfix] Fix crash with invalid argument type passed to `os.locate` (@@Jarod42) * PR #2450 [contrib][premake] Add missing `"library/*.h"` in `files` in contrib/mbedtls/premake5.lua (@@Jarod42) * PR #2452 Update python version for requirements, upgrade jinja (@@nickclark2016) Since 5.0-beta4: * PR #2401 [gmake] Add missing dependencies between prelink and generated files (@@Jarod42) * PR #2403 fix typo in xcode projects generator (@@artamonovoleg) * PR #2404 Rename gmake to gmakelegacy (@@nickclark2016) * PR #2406 Add OmniOS CI job (@@LORgames) * PR #2408 Rename gmake2 to gmake (@@nickclark2016) * PR #2412 Remove deprecated buildrule (@@Jarod42) * PR #2413 Improve some doc (@@Jarod42) * PR #2414 C23 dialect support (@@nickclark2016) * PR #2417 fix warnings function for the xcode4 generator (@@artamonovoleg) * PR #2419 Remove the 'Android' architecture from pre-vs2015 support (@@redorav) * PR #2422 Fix code using gmake2 to properly display warning (@@nickclark2016) Since 5.0-beta3: * PR #2327 Removes deprecated language version flags (@@nickclark2016) * PR #2329 Use `_SC_NPROCESSORS_ONLN` for CPU detection in BSDs. (@@tritao) * PR #2331 Remove Deprecated Flags with Replacements, Fix Tests (@@nickclark2016) * PR #2333 Update package repos before installing deps on Linux (@@nickclark2016) * PR #2334 Replace MFC flag with a dedicated API (@@nickclark2016) * PR #2341 fix documentationfile bug (@@lolrobbe2) * PR #2342 Fix debug optimization flag for Clang (@@nickclark2016) * PR #2343 Replace LTO flag with dedicated API (@@nickclark2016) * PR #2347 Deprecate FatalWarnings flags in favor of fatalwarnings API (@@nickclark2016) * PR #2349 premake.h - added e2k definition (@@r-a-sattarov) * PR #2352 Symbolic link support in Premake (@@nickclark2016) * PR #2355 Added ability to use system zlib (@@LORgames) * PR #2356 Added support for riscv64 (@@kxxt) * PR #2357 Added API for Action Deprecation (@@nickclark2016) * PR #2358 Fixed creation of links on Unix-like OSes (@@nickclark2016) * PR #2359 Added FreeBSD CI job (@@LORgames) * PR #2360 Updated mbedTLS to 3.6.2 (@@LORgames) * PR #2361 Added Clang CI jobs to Linux and FreeBSD (@@LORgames) * PR #2362 Cleaned up minor issues in premake5.lua scripts (@@LORgames) * PR #2363 Add support for loongarch64 (@@Leoforever123) * PR #2364 Override Lua functions without injecting code into the library (@@LORgames) * PR #2366 Integrated Android module into vstudio module (@@LORgames) * PR #2367 Fixed potential use-after-free bug when calling os.getversion (@@LORgames) * PR #2368 Add SunOS support to Bootstrap.sh (@@LORgames) * PR #2369 Fix documentation for linkgroups (@@nickclark2016) * PR #2370 Add ability to use system lua (@@LORgames) * PR #2371 Add OpenBSD CI job (@@LORgames) * PR #2372 Add NetBSD CI job (@@LORgames) * PR #2373 Add DragonflyBSD CI job (@@LORgames) * PR #2374 Add Solaris CI job (@@LORgames) * PR #2375 Cleaned up VM-based CI jobs (@@LORgames) * PR #2376 Add Emscripten system and emcc toolset support (@@tritao) * PR #2378 Fixed configuration properties on VS Linux (@@redorav) * PR #2381 Fix gmake/gmake2 Emscripten default toolset type. (@@tritao) * PR #2382 Fatal warnings API fixes (@@redorav) * PR #2383 Added CI timeout to 30 minutes (@@nickclark2016) * PR #2385 Road to 5.0 Roadmap Publishing (@@nickclark2016) * PR #2388 Add support for e2k (@@r-a-sattarov) * PR #2390 [CI] Fix dependencies as ubuntu-latest becomes ubuntu-24.04 (@@Jarod42) * PR #2392 [CI] Add depsrc matrix to mingw build (@@Jarod42) * PR #2394 Bump jinja2 from 3.1.4 to 3.1.5 in /contrib/mbedtls/docs (@@dependabot) * PR #2395 Fix line endings of `Bootstrap.bat`. (@@tritao) * PR #2397 Fixes XCode Compiler C++ Version/Dialect Output (@@nickclark2016) * PR #2400 Fix token ordering for LINKFILE/LINKDIR (@@nickclark2016) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2025/04/19 07:57:43 wiz Exp $ d5 1 a5 1 PKGNAME= premake5-${PREMAKE5_VERSION:S/-beta2/.b2/} @ 1.12 log @*: recursive bump for default Kerberos implementation switch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2025/04/17 21:50:31 wiz Exp $ d3 1 a3 1 PREMAKE5_VERSION= 5.0.0-beta2 a5 1 PKGREVISION= 10 d18 1 a18 1 USE_LANGUAGES+= c99 a26 6 # maybe fix the build on Darwin. # if this doesn't work, we need to patch what's in build/gmake2.unix .if ${OPSYS} == "Darwin" BUILD_DIRS+= build/gmake2.macosx .else #BUILD_DIRS+= build/gmake2.unix a27 1 .endif d35 5 d91 1 d97 1 d99 1 a99 2 src/host/*.c ${BUNDLED_LUA_SRC} \ -lm -ldl -lrt -luuid ${LDFLAGS} ${CFLAGS} d105 2 a106 2 --no-zlib \ --no-curl \ d108 1 a108 1 gmake2 @ 1.11 log @*: recursive bump for icu 77 and libxml2 2.14 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2024/11/14 22:19:34 wiz Exp $ d6 1 a6 1 PKGREVISION= 9 @ 1.10 log @*: recursive bump for icu 76 shlib major version bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2024/11/01 12:52:19 wiz Exp $ d6 1 a6 1 PKGREVISION= 8 @ 1.9 log @*: revbump for icu downgrade @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2024/11/01 00:51:33 wiz Exp $ d6 1 a6 1 PKGREVISION= 7 @ 1.8 log @*: recursive bump for icu 76.1 shlib bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2024/05/29 16:32:18 adam Exp $ d6 1 a6 1 PKGREVISION= 6 @ 1.7 log @revbump after icu and protobuf updates @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/05/16 06:14:47 wiz Exp $ d6 1 a6 1 PKGREVISION= 5 @ 1.6 log @*: recursive bump for gnutls p11-kit option (existing installations need the bl3.mk included, but it's now only optionally included) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2023/11/08 13:18:58 wiz Exp $ d6 1 a6 1 PKGREVISION= 4 @ 1.5 log @*: recursive bump for icu 74.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/10/24 22:08:55 wiz Exp $ d6 1 a6 1 PKGREVISION= 3 @ 1.4 log @*: bump for openssl 3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/05/09 17:31:02 nikita Exp $ d6 1 a6 1 PKGREVISION= 2 @ 1.3 log @premake5: hopefully fix the build by reworking the build and unbundling some libraries. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/05/08 22:37:31 nikita Exp $ d6 1 a6 1 PKGREVISION= 1 @ 1.2 log @premake5: hopefully fix build on Darwin by using the other makefiles directory. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/05/03 17:43:00 nikita Exp $ d6 1 d19 1 d23 4 d33 2 a34 1 BUILD_DIRS+= build/gmake2.unix d39 73 d116 3 d120 3 @ 1.1 log @premake5: import as devel/premake5 version 5.0.0.b2 packaged in wip by nros@@ and others. Premake is a build script generator. It generates build scripts for gmake, xcode, visual studio and others. Premakes uses Lua and it's input files can use Lua scripting for build configuration tasks. @ text @d1 1 a1 1 # $NetBSD$ d21 6 d28 1 @