mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ricochet
|
|
PORTVERSION= 1.1.4
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 8
|
|
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 <bsd.port.pre.mk>
|
|
|
|
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 <bsd.port.post.mk>
|