freebsd-ports/www/blastbeat/Makefile
Tijl Coosemans 216b5a285f - Fix missing library problems when the linker enforces explicit linking
PR:		192062
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-08-26 14:06:08 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= blastbeat
PORTVERSION= 20121205
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= GH GHC
MAINTAINER= vg@FreeBSD.org
COMMENT= High-performance HTTP/HTTPS/SPDY proxy
LICENSE= UNBIT
LICENSE_NAME= UNBIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= auto-accept
LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev \
libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
libzmq.so:${PORTSDIR}/net/libzmq2
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= zloidemon
GH_COMMIT= cdac9a9
GH_TAGNAME= ${GH_COMMIT}
PORTEXAMPLES= *
CFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lm
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} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${ETCDIR} && \
${INSTALL} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${ETCDIR}/${PORTNAME}.ini.sample
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>