Lines 1-8
Link Here
|
1 |
# Created by: Klaus Aehlig <aehlig@linta.de> |
1 |
# Created by: Klaus Aehlig <aehlig@linta.de> |
2 |
# $FreeBSD: head/devel/bazel/Makefile 554710 2020-11-09 11:42:33Z mat $ |
2 |
# $FreeBSD: head/devel/bazel/Makefile 551699 2020-10-08 09:43:04Z rhurlin $ |
3 |
|
3 |
|
4 |
PORTNAME= bazel |
4 |
PORTNAME= bazel |
5 |
DISTVERSION= 3.7.0 |
5 |
DISTVERSION= 4.0.0 |
6 |
CATEGORIES= devel java |
6 |
CATEGORIES= devel java |
7 |
MASTER_SITES= https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/ |
7 |
MASTER_SITES= https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/ |
8 |
DISTNAME= bazel-${PORTVERSION}rc${FINALRC}-dist |
8 |
DISTNAME= bazel-${PORTVERSION}rc${FINALRC}-dist |
Lines 29-35
Link Here
|
29 |
# In bazel, a release is always code-wise identical to the final release candidate. |
29 |
# In bazel, a release is always code-wise identical to the final release candidate. |
30 |
# Hence we can also download that one and so have a simple way to also test earlier release |
30 |
# Hence we can also download that one and so have a simple way to also test earlier release |
31 |
# candidates. |
31 |
# candidates. |
32 |
FINALRC= 1 |
32 |
FINALRC= 10 |
33 |
|
33 |
|
34 |
SHEBANG_REGEX= .*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so) |
34 |
SHEBANG_REGEX= .*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so) |
35 |
USE_JAVA= yes |
35 |
USE_JAVA= yes |
Lines 43-48
Link Here
|
43 |
# The bazel binary is also a zip archive (extracted by the elf part), it must not be stripped |
43 |
# The bazel binary is also a zip archive (extracted by the elf part), it must not be stripped |
44 |
STRIP= |
44 |
STRIP= |
45 |
|
45 |
|
|
|
46 |
.include <bsd.port.pre.mk> |
47 |
|
48 |
.if ${ARCH} == "i386" |
49 |
EXTRA_PATCHES+= ${FILESDIR}/extra-i386_tools_cpp_BUILD.static.bsd |
50 |
.endif |
51 |
|
46 |
# Have the location of the system-wide rc file reside ${ETCDIR}. |
52 |
# Have the location of the system-wide rc file reside ${ETCDIR}. |
47 |
# Also adapt the sample file to disable persistent java workers as they |
53 |
# Also adapt the sample file to disable persistent java workers as they |
48 |
# do not work reliably on FreeBSD. |
54 |
# do not work reliably on FreeBSD. |
Lines 80-83
Link Here
|
80 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
86 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
81 |
${INSTALL_DATA} ${WRKSRC}/scripts/packages/bazel.bazelrc ${STAGEDIR}${ETCDIR}/bazel.bazelrc.sample |
87 |
${INSTALL_DATA} ${WRKSRC}/scripts/packages/bazel.bazelrc ${STAGEDIR}${ETCDIR}/bazel.bazelrc.sample |
82 |
|
88 |
|
83 |
.include <bsd.port.mk> |
89 |
.include <bsd.port.post.mk> |