403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/devel/arduino-builder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/devel/arduino-builder/Makefile
PORTNAME=	arduino-builder
PORTVERSION=	1.3.25
PORTREVISION=	8
CATEGORIES=	devel

MAINTAINER=	kevans@FreeBSD.org
COMMENT=	Command line tool for building Arduino sketches
WWW=		https://github.com/arduino/arduino-builder

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

USES=		go

USE_GITHUB=	yes
GH_ACCOUNT=	arduino
GH_TUPLE=	go-errors:errors:8fa88b0:goerrors/src/github.com/go-errors/errors \
		stretchr:testify:v1.1.4:stretchr/src/github.com/stretchr/testify \
		jstemmer:go-junit-report:6aeed67:jstemmer/src/github.com/jstemmer/go-junit-report

GO_PKGNAME=	arduino.cc
GO_TARGET=	./arduino-builder

OPTIONS_DEFINE=	TOOLS
OPTIONS_DEFAULT=TOOLS

TOOLS_DESC=		Add arduino-tools for a standalone build setup
TOOLS_RUN_DEPENDS=	arduino-tools>=${_COMPAT_VER}:devel/arduino-tools
TOOLS_PLIST_FILES=	arduino/arduino-builder.options

_COMPAT_VER=	1.6.12
_IDE_VER=	10612

PLIST_FILES=	arduino/hardware/platform.keys.rewrite.txt \
		arduino/hardware/platform.txt \
		bin/${PORTNAME}

# override, upstream expects GOROOT in ${WRKSRC}, not ${WRKDIR}
post-extract:
	${LN} -s ${WRKSRC}/src ${WRKDIR}

do-patch-TOOLS-on:
	${CP} ${FILESDIR}/arduino-builder.options.in ${WRKSRC}/arduino-builder.options
	${REINPLACE_CMD} -e 's|%%IDEVER%%|${_IDE_VER}|' \
			-e 's|%%PREFIX%%|${PREFIX}|' \
			${WRKSRC}/arduino-builder.options

post-install:
	(cd ${GO_WRKSRC}/builder && ${COPYTREE_SHARE} "hardware" ${STAGEDIR}${PREFIX}/arduino ${FIND_EXPR})

post-install-TOOLS-on:
	${INSTALL_DATA} ${WRKSRC}/arduino-builder.options ${STAGEDIR}${PREFIX}/arduino/arduino-builder.options

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit