pkgsrc/devel/catch/Makefile
mef 6a8d939aa9 Updated devel/catch to 1.5.9
----------------------------
No explicit changelog available
2017-01-04 13:48:02 +00:00

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"