View | Details | Raw Unified | Return to bug 226710 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/net-p2p/Makefile (-2 / +1 lines)
Lines 93-100 Link Here
93
    SUBDIR += transmission-cli
93
    SUBDIR += transmission-cli
94
    SUBDIR += transmission-daemon
94
    SUBDIR += transmission-daemon
95
    SUBDIR += transmission-gtk
95
    SUBDIR += transmission-gtk
96
    SUBDIR += transmission-qt4
96
    SUBDIR += transmission-qt
97
    SUBDIR += transmission-qt5
98
    SUBDIR += transmission-remote-gui
97
    SUBDIR += transmission-remote-gui
99
    SUBDIR += tribler
98
    SUBDIR += tribler
100
    SUBDIR += twister
99
    SUBDIR += twister
(-)net-p2p/transmission-qt/Makefile (+69 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PKGNAMESUFFIX=	-${FLAVOR}
4
5
MAINTAINER=	crees@FreeBSD.org
6
COMMENT=	Fast and lightweight Qt4 BitTorrent client
7
8
LIB_DEPENDS=	${GEN_LIB_DEPENDS} \
9
		libfontconfig.so:x11-fonts/fontconfig \
10
		libfreetype.so:print/freetype2
11
RUN_DEPENDS=	${GEN_RUN_DEPENDS}
12
13
FLAVORS=        qt4 qt5
14
FLAVOR?=        ${FLAVORS:[1]}
15
16
DESCR=		${.CURDIR}/pkg-descr
17
MASTERDIR=	${.CURDIR}/../transmission-cli
18
PLIST=		${.CURDIR}/pkg-plist
19
SLAVEPORT=	qt
20
21
.if ${FLAVOR} == qt4
22
USES=		gettext-runtime:run desktop-file-utils
23
USE_QT4=	moc_build qmake_build uic_build rcc_build \
24
		corelib gui dbus network xml
25
.endif
26
27
.if ${FLAVOR} == qt5
28
USES=		gettext-runtime:run desktop-file-utils
29
USE_QT5=	buildtools_build linguisttools_build qmake_build \
30
		core dbus gui network widgets
31
.endif
32
33
QT_NONSTANDARD=	yes
34
35
EXTRA_CONF_ARGS=--disable-cli \
36
		--disable-daemon \
37
		--without-gtk \
38
		--disable-mac \
39
		--disable-nls
40
41
qt4_CONFLICTS_INSTALL=	qt5
42
43
qt4_PLIST=	pkg-plist.qt4
44
qt5_PLIST=	pkg-plist.qt5
45
46
post-patch: general-patch
47
	@${REINPLACE_CMD} -e 's|/share/man|/man|g ; /PKGCONFIG/s| openssl||g' \
48
		${WRKSRC}/qt/qtr.pro
49
	@${ECHO_CMD} 'LIBS += -l${PORT_OPTIONS:M*SSL:tl:S/openssl/crypto/}' \
50
		>>${WRKSRC}/qt/qtr.pro
51
52
post-build:
53
	@(cd ${WRKSRC}/qt && ${QMAKE} ${QMAKE_ARGS} qtr.pro && ${MAKE_CMD})
54
55
do-install:
56
	@(cd ${WRKSRC}/qt && \
57
		${SETENV} INSTALL_ROOT=${STAGEDIR}${PREFIX} ${MAKE_CMD} install)
58
59
post-install: general-install
60
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/transmission-qt
61
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
62
	@${INSTALL_DATA} ${WRKSRC}/qt/README.txt \
63
		${STAGEDIR}${DOCSDIR}/README-${FLAVOR}
64
	@${INSTALL_DATA} ${WRKSRC}/qt/transmission-qt.desktop \
65
		${STAGEDIR}${PREFIX}/share/applications/
66
	@${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.png \
67
		${STAGEDIR}${PREFIX}/share/pixmaps/transmission-qt.png
68
69
.include "${MASTERDIR}/Makefile"
(-)net-p2p/transmission-qt/pkg-descr (+13 lines)
Line 0 Link Here
1
A fast and lightweight Qt BitTorrent client, loosely based on the GTK+ client.
2
3
This is the only Transmission client that can act as its own self-contained
4
session (as the GTK+ and Mac clients do), and can also connect to a remote
5
session (as the web client and transmission-remote terminal client do).
6
7
Transmission has been built from the ground up to be a lightweight, yet
8
powerful BitTorrent client. Its simple, intuitive interface is designed
9
to integrate tightly with whatever computing environment you choose to
10
use. Transmission strikes a balance between providing useful functionality
11
without feature bloat. Furthermore, it is free for anyone to use or modify.
12
13
WWW: http://www.transmissionbt.com/
(-)net-p2p/transmission-qt/pkg-plist.qt4 (+8 lines)
Line 0 Link Here
1
bin/transmission-qt
2
man/man1/transmission-qt.1.gz
3
share/applications/transmission-qt.desktop
4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
5
%%PORTDOCS%%%%DOCSDIR%%/NEWS
6
%%PORTDOCS%%%%DOCSDIR%%/README
7
%%PORTDOCS%%%%DOCSDIR%%/README-qt4
8
share/pixmaps/transmission-qt.png
(-)net-p2p/transmission-qt/pkg-plist.qt5 (+8 lines)
Line 0 Link Here
1
bin/transmission-qt
2
man/man1/transmission-qt.1.gz
3
share/applications/transmission-qt.desktop
4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
5
%%PORTDOCS%%%%DOCSDIR%%/NEWS
6
%%PORTDOCS%%%%DOCSDIR%%/README
7
%%PORTDOCS%%%%DOCSDIR%%/README-qt5
8
share/pixmaps/transmission-qt.png
(-)net-p2p/transmission-qt4/Makefile (-53 lines)
Lines 1-53 Link Here
1
# $FreeBSD$
2
3
PKGNAMESUFFIX=	-qt4
4
5
MAINTAINER=	crees@FreeBSD.org
6
COMMENT=	Fast and lightweight Qt4 BitTorrent client
7
8
LIB_DEPENDS=	${GEN_LIB_DEPENDS} \
9
		libfontconfig.so:x11-fonts/fontconfig \
10
		libfreetype.so:print/freetype2
11
RUN_DEPENDS=	${GEN_RUN_DEPENDS}
12
13
CONFLICTS_INSTALL=	transmission-qt5-[0-9]*
14
15
DESCR=		${.CURDIR}/pkg-descr
16
MASTERDIR=	${.CURDIR}/../transmission-cli
17
PLIST=		${.CURDIR}/pkg-plist
18
SLAVEPORT=	qt4
19
20
QT_NONSTANDARD=	yes
21
USE_QT4=	moc_build qmake_build uic_build rcc_build \
22
		corelib gui dbus network xml
23
USES=		compiler:c++11-lib desktop-file-utils
24
25
EXTRA_CONF_ARGS=--disable-cli \
26
		--disable-daemon \
27
		--without-gtk \
28
		--disable-mac \
29
		--disable-nls
30
31
post-patch: general-patch
32
	@${REINPLACE_CMD} -e 's|/share/man|/man|g ; /PKGCONFIG/s| openssl||g' \
33
		${WRKSRC}/qt/qtr.pro
34
	@${ECHO_CMD} 'LIBS += -l${PORT_OPTIONS:M*SSL:tl:S/openssl/crypto/}' \
35
		>>${WRKSRC}/qt/qtr.pro
36
37
post-build:
38
	@(cd ${WRKSRC}/qt && ${QMAKE} ${QMAKE_ARGS} qtr.pro && ${MAKE_CMD})
39
40
do-install:
41
	@(cd ${WRKSRC}/qt && \
42
		${SETENV} INSTALL_ROOT=${STAGEDIR}${PREFIX} ${MAKE_CMD} install)
43
44
post-install: general-install
45
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
46
	@${INSTALL_DATA} ${WRKSRC}/qt/README.txt \
47
		${STAGEDIR}${DOCSDIR}/README-qt4
48
	@${INSTALL_DATA} ${WRKSRC}/qt/transmission-qt.desktop \
49
		${STAGEDIR}${PREFIX}/share/applications/
50
	@${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.png \
51
		${STAGEDIR}${PREFIX}/share/pixmaps/transmission-qt.png
52
53
.include "${MASTERDIR}/Makefile"
(-)net-p2p/transmission-qt4/pkg-descr (-13 lines)
Lines 1-13 Link Here
1
A fast and lightweight Qt4 BitTorrent client, loosely based on the GTK+ client.
2
3
This is the only Transmission client that can act as its own self-contained
4
session (as the GTK+ and Mac clients do), and can also connect to a remote
5
session (as the web client and transmission-remote terminal client do).
6
7
Transmission has been built from the ground up to be a lightweight, yet
8
powerful BitTorrent client. Its simple, intuitive interface is designed
9
to integrate tightly with whatever computing environment you choose to
10
use. Transmission strikes a balance between providing useful functionality
11
without feature bloat. Furthermore, it is free for anyone to use or modify.
12
13
WWW: http://www.transmissionbt.com/
(-)net-p2p/transmission-qt4/pkg-plist (-8 lines)
Lines 1-8 Link Here
1
bin/transmission-qt
2
man/man1/transmission-qt.1.gz
3
share/applications/transmission-qt.desktop
4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
5
%%PORTDOCS%%%%DOCSDIR%%/NEWS
6
%%PORTDOCS%%%%DOCSDIR%%/README
7
%%PORTDOCS%%%%DOCSDIR%%/README-qt4
8
share/pixmaps/transmission-qt.png
(-)net-p2p/transmission-qt5/Makefile (-53 lines)
Lines 1-53 Link Here
1
# $FreeBSD$
2
3
PKGNAMESUFFIX=	-qt5
4
5
MAINTAINER=	crees@FreeBSD.org
6
COMMENT=	Fast and lightweight Qt5 BitTorrent client
7
8
LIB_DEPENDS=	${GEN_LIB_DEPENDS} \
9
		libfontconfig.so:x11-fonts/fontconfig \
10
		libfreetype.so:print/freetype2
11
RUN_DEPENDS=	${GEN_RUN_DEPENDS}
12
13
CONFLICTS_INSTALL=	transmission-qt4-[0-9]*
14
15
DESCR=		${.CURDIR}/pkg-descr
16
MASTERDIR=	${.CURDIR}/../transmission-cli
17
PLIST=		${.CURDIR}/pkg-plist
18
SLAVEPORT=	qt5
19
20
QT_NONSTANDARD=	yes
21
USE_QT5=	buildtools_build qmake_build core dbus gui network widgets
22
USES=		compiler:c++11-lib desktop-file-utils
23
24
EXTRA_CONF_ARGS=--disable-cli \
25
		--disable-daemon \
26
		--without-gtk \
27
		--disable-mac \
28
		--disable-nls
29
30
post-patch: general-patch
31
	@${REINPLACE_CMD} -e 's|/share/man|/man|g ; /PKGCONFIG/s| openssl||g' \
32
		${WRKSRC}/qt/qtr.pro
33
	@${ECHO_CMD} 'LIBS += -l${PORT_OPTIONS:M*SSL:tl:S/openssl/crypto/}' \
34
		>>${WRKSRC}/qt/qtr.pro
35
36
post-build:
37
	@(cd ${WRKSRC}/qt && ${QMAKE} ${QMAKE_ARGS} qtr.pro && ${MAKE_CMD})
38
39
do-install:
40
	@(cd ${WRKSRC}/qt && \
41
		${SETENV} INSTALL_ROOT=${STAGEDIR}${PREFIX} ${MAKE_CMD} install)
42
43
post-install: general-install
44
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/transmission-qt
45
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
46
	@${INSTALL_DATA} ${WRKSRC}/qt/README.txt \
47
		${STAGEDIR}${DOCSDIR}/README-qt5
48
	@${INSTALL_DATA} ${WRKSRC}/qt/transmission-qt.desktop \
49
		${STAGEDIR}${PREFIX}/share/applications/
50
	@${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.png \
51
		${STAGEDIR}${PREFIX}/share/pixmaps/transmission-qt.png
52
53
.include "${MASTERDIR}/Makefile"
(-)net-p2p/transmission-qt5/pkg-descr (-13 lines)
Lines 1-13 Link Here
1
A fast and lightweight Qt5 BitTorrent client, loosely based on the GTK+ client.
2
3
This is the only Transmission client that can act as its own self-contained
4
session (as the GTK+ and Mac clients do), and can also connect to a remote
5
session (as the web client and transmission-remote terminal client do).
6
7
Transmission has been built from the ground up to be a lightweight, yet
8
powerful BitTorrent client. Its simple, intuitive interface is designed
9
to integrate tightly with whatever computing environment you choose to
10
use. Transmission strikes a balance between providing useful functionality
11
without feature bloat. Furthermore, it is free for anyone to use or modify.
12
13
WWW: http://www.transmissionbt.com/
(-)net-p2p/transmission-qt5/pkg-plist (-8 lines)
Lines 1-8 Link Here
1
bin/transmission-qt
2
man/man1/transmission-qt.1.gz
3
share/applications/transmission-qt.desktop
4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
5
%%PORTDOCS%%%%DOCSDIR%%/NEWS
6
%%PORTDOCS%%%%DOCSDIR%%/README
7
%%PORTDOCS%%%%DOCSDIR%%/README-qt5
8
share/pixmaps/transmission-qt.png

Return to bug 226710