blob: 40843521b048ff8a0489036cfa09bf520915056b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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 <bsd.port.mk>
|