freebsd-ports/security/obfsclient/Makefile
Xin LI eb8617df33 Fix security/obfsclient build with clang 3.7.0.
PR:		ports/202581
Submitted by:	dim
2015-08-26 00:23:39 +00:00

35 lines
743 B
Makefile

# Created by: Fabian Keil <fk@fabiankeil.de>
# $FreeBSD$
PORTNAME= obfsclient
PORTVERSION= 0.0.2
PORTREVISION= 2
CATEGORIES= security
MAINTAINER= fk@fabiankeil.de
COMMENT= Tor-managed pluggable transport client
LIB_DEPENDS= liballium-1.0.so:${PORTSDIR}/devel/liballium \
libevent.so:${PORTSDIR}/devel/libevent2
USE_GITHUB= yes
GH_ACCOUNT= Yawning
GH_TAGNAME= 3c551c5
GNU_CONFIGURE= yes
USES= autoreconf compiler:c++11-lib pkgconfig tar:bzip2
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
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>