Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/devel/bazel/Makefile 525657 2020-02-09 13:48:19Z riggs $ |
2 |
# $FreeBSD: head/devel/bazel/Makefile 525657 2020-02-09 13:48:19Z riggs $ |
3 |
|
3 |
|
4 |
PORTNAME= bazel |
4 |
PORTNAME= bazel |
5 |
DISTVERSION= 2.1.0 |
5 |
DISTVERSION= 3.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= 4 |
32 |
FINALRC= 2 |
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 64-70
Link Here
|
64 |
-e 's|^\(PYTHON_BIN=.*\)|if [ "%VERSION%" = "3" ] ; then PYTHON_BIN=${PYTHON_CMD}; else \1 ; fi|' \ |
64 |
-e 's|^\(PYTHON_BIN=.*\)|if [ "%VERSION%" = "3" ] ; then PYTHON_BIN=${PYTHON_CMD}; else \1 ; fi|' \ |
65 |
${WRKSRC}/tools/python/pywrapper_template.txt |
65 |
${WRKSRC}/tools/python/pywrapper_template.txt |
66 |
@${REINPLACE_CMD} \ |
66 |
@${REINPLACE_CMD} \ |
67 |
-e 's|/usr/bin/env python|${PYTHON_CMD}|' \ |
67 |
-e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ |
68 |
${WRKSRC}/src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java |
68 |
${WRKSRC}/src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java |
69 |
|
69 |
|
70 |
do-build: |
70 |
do-build: |