pkgsrc/devel/catch/Makefile

35 lines
732 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2016/08/09 13:01:56 mef Exp $
DISTNAME= Catch-1.5.0
PKGNAME= ${DISTNAME:tl}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=philsquared/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
2016-06-09 08:23:38 +02:00
HOMEPAGE= https://github.com/philsquared/Catch/
COMMENT= C++-native, framework for unit-tests, TDD and BDD
LICENSE= boost-license
2016-03-01 21:17:18 +01:00
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"