ports/sysutils/ori/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

52 lines
1.7 KiB
Makefile

# Created by: Ali Mashtizadeh <mashti@cs.stanford.edu>
# $FreeBSD$
PORTNAME= ori
PORTVERSION= 0.8.1
PORTREVISION= 21
CATEGORIES= sysutils net
MASTER_SITES= http://cdn.bitbucket.org/orifs/ori/downloads/
PATCH_SITES= https://bitbucket.org/orifs/ori/commits/
PATCHFILES= 48862f2477b1/raw:-p1
MAINTAINER= mashti@cs.stanford.edu
COMMENT= Ori distributed file system
LIB_DEPENDS= libevent.so:devel/libevent \
libboost_date_time.so:devel/boost-libs
USES= compiler:c++11-lib fuse pkgconfig scons ssl tar:xz
CPPFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto
MAKE_ARGS= VERBOSE=1
PLIST_FILES= bin/ori \
bin/oridbg \
bin/orifs \
bin/orisync \
man/man1/ori.1.gz \
man/man1/oridbg.1.gz \
man/man1/orifs.1.gz \
man/man1/orisync.1.gz
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base
BROKEN_FreeBSD_12= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'evp_cipher_ctx_st')
BROKEN_FreeBSD_13= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'evp_cipher_ctx_st')
.endif
do-install:
@${ECHO_MSG} "===> Installing binaries..."
${INSTALL_PROGRAM} ${WRKSRC}/build/ori/ori ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/build/oridbg/oridbg ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/build/orifs/orifs ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/build/orisync/orisync ${STAGEDIR}${PREFIX}/bin/
@${ECHO_MSG} "===> Installing man pages..."
${INSTALL_MAN} ${WRKSRC}/docs/ori.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/docs/oridbg.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/docs/orifs.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/docs/orisync.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.post.mk>