blob: c4910e723df060a42ad1a3bf281dcd3d5ff69120 (
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.15 2018/07/18 00:06:12 joerg Exp $
PKGNAME= bossa-20140109
DISTNAME= b-o-s-s-a-code-05bfcc39bc0453c3028b1161175b95a81af7a901
PKGREVISION= 7
CATEGORIES= comms
EXTRACT_SUFX= .zip
MAINTAINER= reinoud@NetBSD.org
HOMEPAGE= https://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++03
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"
|