0f88324555
While I'm here, let's clean up the port a bit: - Switch to MASTER_SITES from USE_GITHUB as suggested by upstream. - Fix a typo in ALL_TARGET. - Remove do-build. The ports framework does the right thing already. PR: 247260 Submitted by: Martin Filla <freebsd@sysctl.cz>
37 lines
774 B
Makefile
37 lines
774 B
Makefile
# $FreeBSD$
|
|
|
|
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
|
|
|
|
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 <bsd.port.mk>
|