Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2018 17:17:39 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485525 - head/devel/ignition-common
Message-ID:  <201811211717.wALHHdK1055250@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Nov 21 17:17:39 2018
New Revision: 485525
URL: https://svnweb.freebsd.org/changeset/ports/485525

Log:
  devel/ignition-common: Change PLIST_SUB+= -> PLIST_SUB=
  
  Also add the 'test' target.
  
  Reported by:	mat

Modified:
  head/devel/ignition-common/Makefile

Modified: head/devel/ignition-common/Makefile
==============================================================================
--- head/devel/ignition-common/Makefile	Wed Nov 21 17:17:06 2018	(r485524)
+++ head/devel/ignition-common/Makefile	Wed Nov 21 17:17:39 2018	(r485525)
@@ -32,6 +32,12 @@ BB_COMMIT=	a5c4d5a35bb8
 
 WRKSRC=		${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
 
-PLIST_SUB+=	COMMON_IGN_VER=common${DISTVERSION:R:R}
+PLIST_SUB=	COMMON_IGN_VER=common${DISTVERSION:R:R}
+
+do-test:
+	@cd ${BUILD_WRKSRC} && \
+		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING=ON ${CMAKE_SOURCE_PATH} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811211717.wALHHdK1055250>