2013-07-22 14:34:22 +00:00
|
|
|
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
2012-12-15 01:05:47 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= blastbeat
|
|
|
|
PORTVERSION= 20121205
|
2015-01-15 09:05:37 +00:00
|
|
|
PORTREVISION= 3
|
2012-12-15 01:05:47 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
|
2013-07-22 14:34:22 +00:00
|
|
|
MAINTAINER= vg@FreeBSD.org
|
2012-12-15 01:05:47 +00:00
|
|
|
COMMENT= High-performance HTTP/HTTPS/SPDY proxy
|
|
|
|
|
|
|
|
LICENSE= UNBIT
|
|
|
|
LICENSE_NAME= UNBIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LICENSE_PERMS= auto-accept
|
|
|
|
|
2014-06-30 18:33:37 +00:00
|
|
|
LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev \
|
|
|
|
libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
|
|
|
|
libzmq.so:${PORTSDIR}/net/libzmq2
|
2012-12-15 01:05:47 +00:00
|
|
|
|
2014-03-15 08:12:20 +00:00
|
|
|
USES= gmake
|
2015-01-15 09:05:37 +00:00
|
|
|
USE_OPENSSL= yes
|
2012-12-15 01:05:47 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= zloidemon
|
2015-05-07 20:24:15 +00:00
|
|
|
GH_TAGNAME= cdac9a9
|
2012-12-15 01:05:47 +00:00
|
|
|
PORTEXAMPLES= *
|
|
|
|
|
2014-08-26 14:06:08 +00:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LIBS+= -L${LOCALBASE}/lib -lm
|
2012-12-15 01:05:47 +00:00
|
|
|
|
|
|
|
PLIST_FILES= bin/blastbeat \
|
|
|
|
%%ETCDIR%%/blastbeat.ini.sample
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
do-install:
|
2014-06-30 18:33:37 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${MKDIR} ${STAGEDIR}${ETCDIR} && \
|
|
|
|
${INSTALL} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${ETCDIR}/${PORTNAME}.ini.sample
|
2012-12-15 01:05:47 +00:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2014-08-10 08:19:48 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
2012-12-15 01:05:47 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|