6a8d939aa9
---------------------------- No explicit changelog available
34 lines
732 B
Makefile
34 lines
732 B
Makefile
# $NetBSD: Makefile,v 1.5 2017/01/04 13:48:02 mef Exp $
|
|
|
|
DISTNAME= Catch-1.5.9
|
|
PKGNAME= ${DISTNAME:tl}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=philsquared/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/philsquared/Catch/
|
|
COMMENT= C++-native, framework for unit-tests, TDD and BDD
|
|
LICENSE= boost-license
|
|
|
|
EXTRACT_USING= bsdtar
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
NO_BUILD= yes
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
do-install:
|
|
${RUN} ${INSTALL_DATA} ${WRKSRC}/single_include/catch.hpp \
|
|
${DESTDIR}${PREFIX}/include
|
|
|
|
do-test:
|
|
${RUN} cd ${WRKSRC}/projects/SelfTest && \
|
|
${GMAKE} -f makefile && ./CatchSelfTest
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|