1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/www/blastbeat/Makefile
Bryan Drewery f914b482f1 Fix ports using GH_TAGNAME=master to depend on a known hash
instead of a branch that changes.

With hat:	portmgr
2013-06-07 22:29:01 +00:00

52 lines
1.1 KiB
Makefile

# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$
PORTNAME= blastbeat
PORTVERSION= 20121205
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= GH GHC
MAINTAINER= g.veniamin@googlemail.com
COMMENT= High-performance HTTP/HTTPS/SPDY proxy
LICENSE= UNBIT
LICENSE_NAME= UNBIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= auto-accept
LIB_DEPENDS= ev:${PORTSDIR}/devel/libev \
uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \
zmq:${PORTSDIR}/devel/zmq
USE_GMAKE= yes
USE_GITHUB= yes
GH_ACCOUNT= zloidemon
GH_COMMIT= cdac9a9
GH_TAGNAME= ${GH_COMMIT}
PORTEXAMPLES= *
CFLAGS+= -I${LOCALBASE}/include \
-L${LOCALBASE}/lib
PLIST_FILES= bin/blastbeat \
%%ETCDIR%%/blastbeat.ini.sample
PLIST_DIRSTRY= %%ETCDIR%%
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${ETCDIR} && \
${INSTALL} ${WRKSRC}/${PORTNAME}.ini ${ETCDIR}/${PORTNAME}.ini.sample
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>