blob: f66acfaf1dfebe4097998633e197b8ed843957b6 (
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
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.22 2017/09/06 10:40:26 wiz Exp $
#
DISTNAME= vera++-1.1.1
PKGREVISION= 16
CATEGORIES= devel
#MASTER_SITES= http://www.inspirel.com/vera/files/
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://www.inspirel.com/vera/
COMMENT= Programmable verification and analysis tool for C++
BUILD_TARGET= build
LICENSE= boost-license
USE_LANGUAGES= c++
USE_TOOLS+= gmake pax
CXXFLAGS+= -DVERA_ROOT=\"${PREFIX:Q}/share/vera++\"
LIBS_DIRS= -L${BUILDLINK_PREFIX.boost-libs:Q}/lib
LIBS_DIRS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.boost-libs:Q}/lib
LIBS_DIRS+= -L${BUILDLINK_PREFIX.tcl:Q}/lib
LIBS_DIRS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.tcl:Q}/lib
MAKE_FLAGS+= BOOST_DIR=${BUILDLINK_PREFIX.boost-headers}/include
MAKE_FLAGS+= COMPILER_RPATH_FLAG=${COMPILER_RPATH_FLAG}
MAKE_FLAGS+= LIBS_DIRS="${LIBS_DIRS}"
MAKE_FLAGS+= TCLINCLUDE_DIR=${BUILDLINK_PREFIX.tcl}/include
INSTALLATION_DIRS= bin share/doc/vera++ share/vera++
post-extract:
cd ${WRKSRC} && find . -type f -exec chmod a-x {} \;
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vera++ ${DESTDIR}${PREFIX}/bin/vera++
cd ${WRKSRC}/doc && pax -rw * ${DESTDIR}${PREFIX}/share/doc/vera++/
cd ${WRKSRC} && \
pax -rw profiles scripts ${DESTDIR}${PREFIX}/share/vera++/
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|