1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/net-p2p/libswift/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

56 lines
1.3 KiB
Makefile

# Created by: Dave Cottlehuber <dch@skunkwerks.at>
# $FreeBSD$
PORTNAME= libswift
PORTVERSION= 20160817
PORTREVISION= 2
CATEGORIES= net-p2p
MAINTAINER= dch@skunkwerks.at
COMMENT= IETF Peer-to-Peer Streaming Peer Protocol implementation
LICENSE= LGPL21
BROKEN_mips= fails to build: gmake: clang++: Command not found
BROKEN_mips64= fails to build: gmake: clang++: Command not found
BROKEN_powerpc64= fails to build: gmake: clang++: Command not found
LIB_DEPENDS= libevent.so:devel/libevent
USE_GITHUB= yes
GH_TAGNAME= dda307f
USES= gmake ssl
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
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.mk>