1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/net-p2p/libswift/Makefile
Jan Beich f18538b989 devel/libevent2: update to 2.1.11
Changes:	https://github.com/libevent/libevent/releases/tag/release-2.1.11-stable
ABI:		https://abi-laboratory.pro/tracker/timeline/libevent/
PR:		239599
Reported by:	GitHub (watch releases)
Approved by:	zeising (maintainer)
MFH:		2019Q3 (maybe security, partially restores 2.1.8 ABI)
Differential Revision:	https://reviews.freebsd.org/D21133
2019-08-02 13:30:40 +00:00

57 lines
1.2 KiB
Makefile

# Created by: Dave Cottlehuber <dch@skunkwerks.at>
# $FreeBSD$
PORTNAME= libswift
PORTVERSION= 20190302
PORTREVISION= 1
CATEGORIES= net-p2p
MAINTAINER= dch@FreeBSD.org
COMMENT= IETF Peer-to-Peer Streaming Peer Protocol implementation
LICENSE= LGPL21
LIB_DEPENDS= libevent.so:devel/libevent
USES= compiler:c++11-lang gmake ssl
USE_GITHUB= yes
GH_ACCOUNT= skunkwerks
GH_TAGNAME= dc0cbcc
PORTDOCS= README.md
SUB_FILES= ${PORTNAME}
SUB_LIST+= SWIFT_USER=${SWIFT_USER} \
SWIFT_GROUP=${SWIFT_GROUP} \
SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \
SWIFT_PIDDIR=${SWIFT_PIDDIR}
PLIST_SUB= SWIFT_USER=${SWIFT_USER} \
SWIFT_GROUP=${SWIFT_GROUP} \
SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \
SWIFT_PIDDIR=${SWIFT_PIDDIR}
SWIFT_USER?= www
SWIFT_GROUP?= www
SWIFT_SHAREDIR= /var/db/${PORTNAME}/
SWIFT_PIDDIR= /var/run/${PORTNAME}/
USE_RC_SUBR= ${PORTNAME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e 's/CXX=clang++/CXX?=clang++/' ${WRKSRC}/Makefile
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR} \
${STAGEDIR}${SWIFT_SHAREDIR} \
${STAGEDIR}${SWIFT_PIDDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/swift ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.post.mk>