svn commit: r421831 - head/security/obfsclient

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Sep 11 16:11:54 UTC 2016


Author: amdmi3
Date: Sun Sep 11 16:11:53 2016
New Revision: 421831
URL: https://svnweb.freebsd.org/changeset/ports/421831

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Switch to new test framework
  - Don't install license as documentation
  
  Approved by:	portmgr blanket

Modified:
  head/security/obfsclient/Makefile

Modified: head/security/obfsclient/Makefile
==============================================================================
--- head/security/obfsclient/Makefile	Sun Sep 11 16:05:45 2016	(r421830)
+++ head/security/obfsclient/Makefile	Sun Sep 11 16:11:53 2016	(r421831)
@@ -10,6 +10,10 @@ CATEGORIES=	security
 MAINTAINER=	fk at fabiankeil.de
 COMMENT=	Tor-managed pluggable transport client
 
+LICENSE=	BSD2CLAUSE MIT ISCL BSD3CLAUSE
+LICENSE_COMB=	multi
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	liballium-1.0.so:devel/liballium \
 		libevent.so:devel/libevent2
 
@@ -17,19 +21,9 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	Yawning
 
 GNU_CONFIGURE=	yes
-USES=		autoreconf compiler:c++11-lib pkgconfig tar:bzip2
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
+USES=		autoreconf compiler:c++11-lib localbase pkgconfig
+TEST_TARGET=	check
 
 PLIST_FILES=	bin/${PORTNAME}
-PORTDOCS=	COPYING
-
-post-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
-
-regression-test: build
-	(cd ${WRKSRC} && make check)
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list