1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

Update to 5.0.0-alpha15

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>
This commit is contained in:
Mateusz Piotrowski 2020-06-27 13:20:46 +00:00
parent 08a1159f1a
commit 0f88324555
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540600
2 changed files with 13 additions and 16 deletions

View File

@ -2,9 +2,11 @@
PORTNAME= premake
DISTVERSIONPREFIX= v
DISTVERSION= 5.0.0
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
@ -14,22 +16,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
ONLY_FOR_ARCHS= aarch64 amd64 i386
USES= dos2unix gmake
USE_GITHUB= yes
GH_PROJECT= premake-core
GH_TAGNAME= 09ee833
MAKE_ARGS= CC="${CC}" \
CXX="${CXX}"
USES= dos2unix gmake zip
DOS2UNIX_FILES= tests/_tests.lua
PLIST_FILES= bin/premake5
MAKEFILE= Bootstrap.mak
ALL_TARGETS= bsd
MAKE_ARGS= CC="${CC}" \
CXX="${CXX}"
ALL_TARGET= bsd
do-build:
cd ${WRKSRC} && ${GMAKE} -f Bootstrap.mak bsd
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
PLIST_FILES= bin/premake5
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/release/premake5 ${STAGEDIR}${PREFIX}/bin

View File

@ -1,3 +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
TIMESTAMP = 1593263380
SHA256 (premake-5.0.0-alpha15-src.zip) = 880f56e7cb9f4945d1cb879f059189462c1b7bf62ef43ac7d25842dfb177dd53
SIZE (premake-5.0.0-alpha15-src.zip) = 5766812