# Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= ricochet PORTVERSION= 1.1.4 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= net-im net-p2p MAINTAINER= yuri@rawbw.com COMMENT= Anonymous peer-to-peer instant messenger LICENSE= RICOCHET LICENSE_NAME= Ricochet LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libprotobuf.so:devel/protobuf RUN_DEPENDS= tor:security/tor USE_GITHUB= yes GH_ACCOUNT= ricochet-im USES= compiler:c++11-lib gmake pkgconfig qmake ssl USE_GL= gl USE_QT5= core gui network qml quick widgets multimedia buildtools_build linguisttools_build QMAKE_ARGS+= DEFINES+=RICOCHET_NO_PORTABLE OPENSSLDIR=${LOCALBASE} PLIST_FILES= bin/ricochet \ share/applications/ricochet.desktop \ share/icons/hicolor/48x48/apps/ricochet.png \ share/icons/hicolor/scalable/apps/ricochet.svg .include .if ${SSL_DEFAULT:Mlibressl*} IGNORE= Detected LibreSSL (missing RSA_get0_factors) .endif post-patch: @${REINPLACE_CMD} -E 's| -fsanitize=[a-z-]+| |g' \ ${WRKSRC}/hardened.pri .if ${ARCH} == amd64 && ${OSREL:R} == 9 @${REINPLACE_CMD} -E 's| -pie| |g' \ ${WRKSRC}/hardened.pri .endif .include