2016-08-09 15:01:56 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2016/08/09 13:01:56 mef Exp $
|
2016-02-25 00:03:19 +01:00
|
|
|
|
2016-08-09 15:01:56 +02:00
|
|
|
DISTNAME= Catch-1.5.0
|
2016-02-25 00:03:19 +01:00
|
|
|
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/
|
2016-02-25 00:03:19 +01:00
|
|
|
COMMENT= C++-native, framework for unit-tests, TDD and BDD
|
|
|
|
LICENSE= boost-license
|
|
|
|
|
2016-03-01 21:17:18 +01:00
|
|
|
EXTRACT_USING= bsdtar
|
|
|
|
|
2016-02-25 00:03:19 +01:00
|
|
|
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"
|