1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/net-im/ricochet/Makefile
Po-Chuan Hsieh 69e2e87fa5
devel/protobuf: Update to 24.4
- Use USES=pathfix to fix .pc installation
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/protocolbuffers/protobuf/releases
2023-12-15 01:03:10 +08:00

44 lines
1.1 KiB
Makefile

PORTNAME= ricochet
PORTVERSION= 1.1.4
DISTVERSIONPREFIX= v
PORTREVISION= 30
CATEGORIES= net-im net-p2p
MAINTAINER= yuri@FreeBSD.org
COMMENT= Anonymous peer-to-peer instant messenger
WWW= https://github.com/ricochet-im/ricochet
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
USES= compiler:c++17-lang gl gmake pkgconfig qmake qt:5 ssl
USE_GITHUB= yes
GH_ACCOUNT= ricochet-im
USE_QT= core declarative gui multimedia network quickcontrols widgets \
buildtools:build linguisttools:build
USE_GL= gl
USE_CXXSTD= c++17
QMAKE_ARGS+= DEFINES+=RICOCHET_NO_PORTABLE OPENSSLDIR=${OPENSSLBASE}
OPTIONS_DEFINE= TOR
OPTIONS_DEFAULT= TOR
TOR_DESC= Install Tor: it is required for ${PORTNAME} to run
TOR_RUN_DEPENDS= tor:security/tor
PLIST_FILES= bin/ricochet \
share/applications/ricochet.desktop \
share/icons/hicolor/48x48/apps/ricochet.png \
share/icons/hicolor/scalable/apps/ricochet.svg
post-patch:
@${REINPLACE_CMD} -E 's| -fsanitize=[a-z-]+| |g' \
${WRKSRC}/hardened.pri
.include <bsd.port.mk>