View | Details | Raw Unified | Return to bug 244152
Collapse All | Expand All

(-)biology/GoldenCheetah/Makefile (+36 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	GoldenCheetah
4
DISTVERSIONPREFIX=	V
5
DISTVERSION=	3.5
6
CATEGORIES=	biology
7
8
MAINTAINER=	cem@FreeBSD.org
9
COMMENT=	Performance Software for Cyclists, Runners and Triathletes
10
11
LICENSE=	GPLv2+
12
13
USES=		bison compiler gmake qmake qt:5
14
USE_GL+=	gl
15
USE_QT+=	charts concurrent connectivity core gui multimedia network \
16
		opengl serialport sql svg webkit widgets xml
17
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	GoldenCheetah
20
21
PLIST_FILES=	bin/${PORTNAME}
22
23
post-patch:
24
	@cp -a ${WRKSRC}/qwt/qwtconfig.pri.in ${WRKSRC}/qwt/qwtconfig.pri
25
	@cp -a ${WRKSRC}/src/gcconfig.pri.in ${WRKSRC}/src/gcconfig.pri
26
	@sed -i "" \
27
	    -e 's,^#QMAKE_YACC.*,QMAKE_YACC = bison,g' \
28
	    -e 's,^#LIBZ_LIBS.*,LIBZ_LIBS = -lz,g' \
29
	    -e 's,^#QMAKE_LRELEASE.*,QMAKE_LRELEASE = lrelease,g' \
30
	    ${WRKSRC}/src/gcconfig.pri
31
32
post-install:
33
	@rm -rf "${STAGEDIR}${PREFIX}/qwt-6.1.1-svn"
34
	${INSTALL_PROGRAM} ${WRKSRC}/src/GoldenCheetah ${STAGEDIR}${PREFIX}/bin
35
36
.include <bsd.port.mk>
(-)biology/GoldenCheetah/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1581811370
2
SHA256 (GoldenCheetah-GoldenCheetah-V3.5_GH0.tar.gz) = d5a12a71b9bd49ec8224aca51807155cddc8863b69abc1c48e54084014115020
3
SIZE (GoldenCheetah-GoldenCheetah-V3.5_GH0.tar.gz) = 81901170
(-)biology/GoldenCheetah/files/patch-src_Core_Settings.cpp (+11 lines)
Line 0 Link Here
1
--- src/Core/Settings.cpp.orig	2020-01-10 16:51:47 UTC
2
+++ src/Core/Settings.cpp
3
@@ -30,6 +30,8 @@ int OperatingSystem = OSX;
4
 int OperatingSystem = WINDOWS;
5
 #elif defined Q_OS_LINUX
6
 int OperatingSystem = LINUX;
7
+#elif defined Q_OS_FREEBSD
8
+int OperatingSystem = LINUX;
9
 #elif defined Q_OS_OPENBSD
10
 int OperatingSystem = OPENBSD;
11
 #endif
(-)biology/GoldenCheetah/pkg-descr (+6 lines)
Line 0 Link Here
1
GoldenCheetah is an endurance athlete data collection and visualization tool.
2
3
It fetches data directly from devices and online services, and
4
it provides a rich set of analysis tools.
5
6
WWW: http://www.goldencheetah.org/
(-)biology/Makefile (+1 lines)
Lines 46-51 Link Here
46
    SUBDIR += gemma
46
    SUBDIR += gemma
47
    SUBDIR += gff2ps
47
    SUBDIR += gff2ps
48
    SUBDIR += gmap
48
    SUBDIR += gmap
49
    SUBDIR += GoldenCheetah
49
    SUBDIR += gperiodic
50
    SUBDIR += gperiodic
50
    SUBDIR += graphlan
51
    SUBDIR += graphlan
51
    SUBDIR += grappa
52
    SUBDIR += grappa

Return to bug 244152