svn commit: r462480 - head/devel/htable

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Feb 21 09:02:58 UTC 2018


Author: amdmi3
Date: Wed Feb 21 09:02:57 2018
New Revision: 462480
URL: https://svnweb.freebsd.org/changeset/ports/462480

Log:
  - Add LICENSE
  - Switch to new test framework
  
  Approved by:	portmgr blanket

Modified:
  head/devel/htable/Makefile

Modified: head/devel/htable/Makefile
==============================================================================
--- head/devel/htable/Makefile	Wed Feb 21 09:02:56 2018	(r462479)
+++ head/devel/htable/Makefile	Wed Feb 21 09:02:57 2018	(r462480)
@@ -9,6 +9,8 @@ MASTER_SITES=	LOCAL/culot
 MAINTAINER=	culot at FreeBSD.org
 COMMENT=	Lightweight implementation of hash tables in C
 
+LICENSE=	BSD2CLAUSE
+
 USES=		gmake
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
@@ -16,12 +18,11 @@ PLIST_FILES=	include/htable.h \
 		man/man3/htable.3.gz
 
 NO_BUILD=	yes
+TEST_TARGET=	test
+TEST_WRKSRC=	${WRKSRC}/tst
 
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/src/htable.h ${STAGEDIR}${PREFIX}/include
 	${INSTALL_MAN} ${WRKSRC}/src/htable.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
-
-regression-test:
-	cd ${WRKSRC}/tst && ${MAKE_CMD} test
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list