[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / flatbuffers

File: [cvs.NetBSD.org] / pkgsrc / devel / flatbuffers / Makefile (download)

Revision 1.5, Sat May 9 13:46:59 2020 UTC (4 months, 2 weeks ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD
Changes since 1.4: +5 -1 lines

(devel/flatbuffers) Adhoc package stage fix, to remove *.h.orig

# $NetBSD: Makefile,v 1.5 2020/05/09 13:46:59 mef Exp $

DISTNAME=	flatbuffers-1.9.0
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=google/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	https://google.github.io/flatbuffers/
COMMENT=	Memory efficient serialization library
LICENSE=	apache-2.0

USE_CMAKE=	yes
USE_LANGUAGES=	c c++11

CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+=	-DFLATBUFFERS_BUILD_SHAREDLIB=ON

post-install:
	${RM} -f ${DESTDIR}${PREFIX}/include/flatbuffers/flatbuffers.h.orig
	${RM} -f ${DESTDIR}${PREFIX}/include/flatbuffers/reflection.h.orig

.include "../../mk/bsd.pkg.mk"