2016-09-23 20:37:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bossa
|
2016-10-18 22:45:56 +02:00
|
|
|
PORTVERSION= 1.7.0
|
2019-04-09 16:04:49 +02:00
|
|
|
PORTREVISION= 8
|
2016-09-23 20:37:47 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2017-07-06 03:39:08 +02:00
|
|
|
MAINTAINER= kevans@FreeBSD.org
|
2016-09-23 20:37:47 +02:00
|
|
|
COMMENT= Flash programmer for Atmel SAM microcontrollers
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= shumatech
|
2016-09-24 03:18:14 +02:00
|
|
|
GH_PROJECT= ${PORTNAME:tu}
|
2016-09-23 20:37:47 +02:00
|
|
|
|
|
|
|
USES= compiler:c++11-lang gmake
|
|
|
|
|
|
|
|
CXXFLAGS+= -I${PREFIX}/include
|
|
|
|
LDFLAGS+= -L${PREFIX}/lib
|
|
|
|
|
|
|
|
ALL_TARGET= bin/bossac
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= BOSSA BOSSASH
|
|
|
|
OPTIONS_DEFAULT= BOSSASH
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
BOSSA_DESC= Include BOSSA GUI application using wxWidgets
|
|
|
|
BOSSA_ALL_TARGET= bin/bossa
|
|
|
|
BOSSA_USE= wx=3.0 wx_comps=wx
|
|
|
|
|
|
|
|
BOSSASH_DESC= Include BOSSA Shell
|
|
|
|
BOSSASH_USES= readline
|
|
|
|
BOSSASH_ALL_TARGET= bin/bossash
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${REINPLACE_CMD} -e 's/wx-config/$${WX_CONFIG}/' ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/bossac ${STAGEDIR}${PREFIX}/bin/bossac
|
|
|
|
|
|
|
|
do-install-BOSSA-on:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/bossa ${STAGEDIR}${PREFIX}/bin/bossa
|
|
|
|
|
|
|
|
do-install-BOSSASH-on:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/bossash ${STAGEDIR}${PREFIX}/bin/bossash
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|