# $FreeBSD: head/devel/premake5/Makefile 560025 2021-01-03 17:40:04Z pkubaj $ PORTNAME= premake DISTVERSIONPREFIX= v DISTVERSION= 5.0.0-alpha15 CATEGORIES= devel MASTER_SITES= https://github.com/premake/premake-core/releases/download/${DISTVERSIONFULL}/ PKGNAMESUFFIX= 5 DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= freebsd@sysctl.cz COMMENT= Build script creation tool LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le USES= dos2unix gmake zip DOS2UNIX_FILES= tests/_tests.lua MAKEFILE= Bootstrap.mak MAKE_ARGS= CC="${CC}" \ CXX="${CXX}" ALL_TARGET= bsd WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} PLIST_FILES= bin/premake5 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/release/premake5 ${STAGEDIR}${PREFIX}/bin do-test: cd ${WRKSRC}/tests && ./test .include