508923f461
pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
36 lines
911 B
Makefile
36 lines
911 B
Makefile
# $NetBSD: Makefile,v 1.6 2020/01/18 23:30:25 rillig Exp $
|
|
|
|
GITHUB_PROJECT= cpputest
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
DISTNAME= cpputest-3.8
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=cpputest/}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= https://cpputest.github.io/
|
|
COMMENT= Unit testing and mocking framework for C/C++
|
|
LICENSE= modified-bsd
|
|
|
|
PKGCONFIG_OVERRIDE+= cpputest.pc.in
|
|
|
|
#USE_CMAKE= yes
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= ../configure
|
|
CONFIGURE_DIRS= cpputest_build
|
|
BUILD_DIRS= ${CONFIGURE_DIRS}
|
|
USE_TOOLS+= automake autoreconf pkg-config
|
|
USE_LANGUAGES= c c++
|
|
|
|
TEST_TARGET= check tdd
|
|
|
|
INSTALLATION_DIRS= share/CppUTest
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC}/${CONFIGURE_DIRS} && autoreconf .. -fiv
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/build/MakefileWorker.mk ${DESTDIR}${PREFIX}/share/CppUTest/MakefileWorker.mk
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|