2016-01-10 13:20:59 +00:00
|
|
|
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ricochet
|
2016-11-09 23:23:14 +00:00
|
|
|
PORTVERSION= 1.1.4
|
2016-03-10 19:52:12 +00:00
|
|
|
DISTVERSIONPREFIX= v
|
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
2018-07-29 22:18:44 +00:00
|
|
|
PORTREVISION= 13
|
2016-01-10 13:20:59 +00:00
|
|
|
CATEGORIES= net-im net-p2p
|
|
|
|
|
2017-11-12 19:19:37 +00:00
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
2016-01-10 13:20:59 +00:00
|
|
|
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
|
|
|
|
|
2016-04-01 14:16:16 +00:00
|
|
|
LIB_DEPENDS= libprotobuf.so:devel/protobuf
|
2016-01-10 13:20:59 +00:00
|
|
|
|
2018-06-28 17:39:53 +00:00
|
|
|
USES= compiler:c++11-lib gmake pkgconfig qmake qt:5 ssl
|
2017-11-12 19:19:37 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= ricochet-im
|
2018-06-28 17:39:53 +00:00
|
|
|
USE_QT= core gui multimedia network qml quick quickcontrols widgets \
|
2017-11-12 19:19:37 +00:00
|
|
|
buildtools_build linguisttools_build
|
2016-03-10 19:52:12 +00:00
|
|
|
USE_GL= gl
|
2017-11-12 19:19:37 +00:00
|
|
|
QMAKE_ARGS+= DEFINES+=RICOCHET_NO_PORTABLE OPENSSLDIR=${OPENSSLBASE}
|
2016-01-10 13:20:59 +00:00
|
|
|
|
2017-11-28 21:37:15 +00:00
|
|
|
OPTIONS_DEFINE= TOR
|
|
|
|
OPTIONS_DEFAULT= TOR
|
|
|
|
TOR_DESC= Install Tor: it is required for ${PORTNAME} to run
|
|
|
|
|
|
|
|
TOR_RUN_DEPENDS= tor:security/tor
|
|
|
|
|
2016-01-10 13:20:59 +00:00
|
|
|
PLIST_FILES= bin/ricochet \
|
|
|
|
share/applications/ricochet.desktop \
|
|
|
|
share/icons/hicolor/48x48/apps/ricochet.png \
|
|
|
|
share/icons/hicolor/scalable/apps/ricochet.svg
|
|
|
|
|
2016-03-10 19:52:12 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E 's| -fsanitize=[a-z-]+| |g' \
|
|
|
|
${WRKSRC}/hardened.pri
|
|
|
|
|
2017-11-28 21:37:15 +00:00
|
|
|
.include <bsd.port.mk>
|