blob: d4be9f3a6fdcf2b43f6706f27a2f98b9a7f1da03 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Created by: glocke@bsdstammtisch.at
# $FreeBSD$
PORTNAME= retroshare
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.3
PORTREVISION= 2
CATEGORIES= net-p2p
MAINTAINER= peter@netkey.at
COMMENT= Private and secure decentralised communication platform
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libsqlcipher.so:databases/sqlcipher \
libspeex.so:audio/speex \
libspeexdsp.so:audio/speexdsp \
libupnp.so:devel/upnp \
libgnome-keyring.so:security/libgnome-keyring \
libgpgme.so:security/gpgme \
libopencv_highgui.so:graphics/opencv \
libopencv_imgproc.so:graphics/opencv-core \
libavcodec.so:multimedia/ffmpeg \
libcurl.so:ftp/curl \
libmicrohttpd.so:www/libmicrohttpd
USES= compiler:features desktop-file-utils dos2unix pkgconfig qmake qt:5 ssl
USE_GITHUB= yes
GH_ACCOUNT= RetroShare
GH_PROJECT= RetroShare
USE_GNOME= libxml2 libxslt
USE_GL= gl
USE_QT= core gui multimedia printsupport network widgets xml \
buildtools_build uitools_build
DOS2UNIX_FILES= retroshare-nogui/src/retroshare-nogui.pro
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/libretroshare/src/libretroshare.pro
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/retroshare-gui/src/retroshare-gui.pro
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/retroshare-nogui/src/retroshare-nogui.pro
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
${WRKSRC}/data/retroshare.desktop
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
${WRKSRC}/data/retroshare.desktop
.if defined(GH_TAGNAME)
@${REINPLACE_CMD} -e 's|RS_REVISION_NUMBER.*|RS_REVISION_NUMBER 0x${GH_TAGNAME}|' \
${WRKSRC}/libretroshare/src/retroshare/rsversion.h
.endif
.include <bsd.port.post.mk>
|