39 lines
1,001 B
Makefile
39 lines
1,001 B
Makefile
# $NetBSD: Makefile,v 1.20 2019/09/03 12:53:25 nia Exp $
|
|
|
|
PKGNAME= bossa-20140109
|
|
DISTNAME= b-o-s-s-a-code-05bfcc39bc0453c3028b1161175b95a81af7a901
|
|
PKGREVISION= 10
|
|
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
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
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"
|