blob: 18694f92ef4fb8f9b01e581c46e0fa3ba701b508 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.11 2017/02/12 06:25:10 ryoon Exp $
PKGNAME= bossa-20140109
DISTNAME= b-o-s-s-a-code-05bfcc39bc0453c3028b1161175b95a81af7a901
PKGREVISION= 5
CATEGORIES= comms
EXTRACT_SUFX= .zip
MAINTAINER= reinoud@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/b-o-s-s-a/
COMMENT= Open source SAM-BA compatible Atmel ARM programmer
LICENSE= gnu-gpl-v3
INSTALLATION_DIRS= bin
LDFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.readline}/lib \
-L${BUILDLINK_PREFIX.readline}/lib
ALL_ENV+= COMMON_LDFLAGS=${LDFLAGS:Q}
post-patch:
${CP} files/NetBSD* ${WRKSRC}/src/
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${DESTDIR}${PREFIX}/bin
USE_LANGUAGES= c++
USE_TOOLS= gmake
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+= -Wno-error=tautological-compare -Wno-error=unused-local-typedef
.endif
.include "../../devel/readline/buildlink3.mk"
.include "../../x11/wxGTK28/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|