Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= arduino-builder |
3 |
PORTNAME= arduino-builder |
4 |
PORTVERSION= 1.3.21 |
4 |
PORTVERSION= 1.3.21 |
5 |
PORTREVISION= 1 |
5 |
PORTREVISION= 2 |
6 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
7 |
|
7 |
|
8 |
MAINTAINER= bsdports@kyle-evans.net |
8 |
MAINTAINER= bsdports@kyle-evans.net |
Lines 13-19
Link Here
|
13 |
|
13 |
|
14 |
BUILD_DEPENDS= go:lang/go |
14 |
BUILD_DEPENDS= go:lang/go |
15 |
|
15 |
|
16 |
USE_GITHUB= yes |
16 |
USE_GITHUB= ye |
17 |
GH_ACCOUNT= arduino |
17 |
GH_ACCOUNT= arduino |
18 |
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} |
18 |
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} |
19 |
GH_TUPLE= go-errors:errors:a418503:goerrors/src/github.com/go-errors/errors \ |
19 |
GH_TUPLE= go-errors:errors:a418503:goerrors/src/github.com/go-errors/errors \ |
Lines 20-25
Link Here
|
20 |
stretchr:testify:v1.1.3:stretchr/src/github.com/stretchr/testify \ |
20 |
stretchr:testify:v1.1.3:stretchr/src/github.com/stretchr/testify \ |
21 |
jstemmer:go-junit-report:833f8ea:jstemmer/src/github.com/jstemmer/go-junit-report |
21 |
jstemmer:go-junit-report:833f8ea:jstemmer/src/github.com/jstemmer/go-junit-report |
22 |
|
22 |
|
|
|
23 |
GO_ENV+= GOPATH=${WRKSRC} |
23 |
STRIP= # stripping can break go binaries |
24 |
STRIP= # stripping can break go binaries |
24 |
|
25 |
|
25 |
PLIST_FILES= arduino/hardware/platform.keys.rewrite.txt \ |
26 |
PLIST_FILES= arduino/hardware/platform.keys.rewrite.txt \ |
Lines 27-33
Link Here
|
27 |
bin/${PORTNAME} |
28 |
bin/${PORTNAME} |
28 |
|
29 |
|
29 |
do-build: |
30 |
do-build: |
30 |
@( cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC} go build arduino.cc/arduino-builder ) |
31 |
@( cd ${WRKSRC} ; ${SETENV} ${GO_ENV} go build arduino.cc/arduino-builder ) |
31 |
|
32 |
|
32 |
do-install: |
33 |
do-install: |
33 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} |