aboutsummaryrefslogtreecommitdiff
path: root/databases/redisdesktopmanager/Makefile
blob: 16b1c2a106b0b741bf7b60ff77b0b316057c39cd (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
# $FreeBSD$

PORTNAME=	redisdesktopmanager
PORTVERSION=	2019.0
PORTREVISION=	1
CATEGORIES=	databases

MAINTAINER=	swills@FreeBSD.org
COMMENT=	Redis DB management tool

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libssh2.so:security/libssh2

USES=		compiler:c++0x dos2unix gl kde:5 qmake qt:5 ssl
USE_GL=		gl
USE_GITHUB=	yes

DOS2UNIX_FILES=		3rdparty/3rdparty.pri
BUILD_WRKSRC=		${WRKSRC}/src
CONFIGURE_WRKSRC=	${WRKSRC}/src
INSTALL_WRKSRC=		${WRKSRC}/bin/freebsd/release
PLIST_FILES=		bin/rdm \
			share/pixmaps/rdm.png
DESKTOP_ENTRIES=	"Redis Desktop Manager" \
			"Redis Desktop Manager" \
			"rdm.png" \
			"rdm" \
			"Development;" \
			""
GH_TUPLE=		uglide:RedisDesktopManager:${PORTVERSION}:DEFAULT/RedisDesktopManager-${PORTVERSION} \
			benlau:asyncfuture:4579d53:asyncfuture/3rdparty/asyncfuture \
			RedisDesktop:CrashReporter:0202f9b:crashreporter/3rdparty/crashreporter \
			uglide:qredisclient:0a0cc36:qredisclient/3rdparty/qredisclient \
			sijk:qt-unix-signals:d6a1d12:qtunixsignals/3rdparty/qt-unix-signals \
			uglide:qsshclient:6fa7fb7:qsshclient/3rdparty/qredisclient/3rdparty/qsshclient \
			redis:hiredis:6850306:hiredis/3rdparty/qredisclient/3rdparty/hiredis
USE_QT=			charts concurrent core declarative gui network widgets \
			buildtools_build qmake_build

post-patch:
	@${REINPLACE_CMD} 's|%%PORTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/src/version.h

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/share/pixmaps
	cd ${INSTALL_WRKSRC} ; \
	${STRIP_CMD} rdm ; \
	${INSTALL_PROGRAM} rdm ${STAGEDIR}${PREFIX}/bin/rdm
	${INSTALL_DATA} ${BUILD_WRKSRC}/resources/rdm.png ${STAGEDIR}${PREFIX}/share/pixmaps/rdm.png

.include <bsd.port.mk>