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

Collapse All | Expand All

(-)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 (+70 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
qt4_CONFLICTS_INSTALL=	transmission-qt5
17
qt5_CONFLICTS_INSTALL=	transmission-qt4
18
19
USES=		gettext-runtime:run desktop-file-utils
20
21
.if ${FLAVOR} == qt4
22
USE_QT4=	moc_build qmake_build uic_build rcc_build \
23
		corelib gui dbus network xml
24
.endif
25
26
.if ${FLAVOR} == qt5
27
USE_QT5=	buildtools_build linguisttools_build qmake_build \
28
		core dbus gui network widgets
29
.endif
30
31
QT_NONSTANDARD=	yes
32
33
EXTRA_CONF_ARGS=--disable-cli \
34
		--disable-daemon \
35
		--without-gtk \
36
		--disable-mac \
37
		--disable-nls
38
39
PLIST_SUB=	QT_SUFFIX=${_QT_RELNAME}
40
41
MASTERDIR=	${.CURDIR}/../transmission-cli
42
DESCR=		${.CURDIR}/pkg-descr
43
PLIST=		${.CURDIR}/pkg-plist
44
45
SLAVEPORT=	qt
46
47
post-patch: general-patch
48
	@${REINPLACE_CMD} -e 's|/share/man|/man|g ; /PKGCONFIG/s| openssl||g' \
49
		${WRKSRC}/qt/qtr.pro
50
	@${ECHO_CMD} 'LIBS += -l${PORT_OPTIONS:M*SSL:tl:S/openssl/crypto/}' \
51
		>>${WRKSRC}/qt/qtr.pro
52
53
post-build:
54
	@(cd ${WRKSRC}/qt && ${QMAKE} ${QMAKE_ARGS} qtr.pro && ${MAKE_CMD})
55
56
do-install:
57
	@(cd ${WRKSRC}/qt && \
58
		${SETENV} INSTALL_ROOT=${STAGEDIR}${PREFIX} ${MAKE_CMD} install)
59
60
post-install: general-install
61
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/transmission-qt
62
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
63
	${INSTALL_DATA} ${WRKSRC}/qt/README.txt \
64
		${STAGEDIR}${DOCSDIR}/README-${FLAVOR}
65
	${INSTALL_DATA} ${WRKSRC}/qt/transmission-qt.desktop \
66
		${STAGEDIR}${PREFIX}/share/applications/
67
	${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.png \
68
		${STAGEDIR}${PREFIX}/share/pixmaps/transmission-qt.png
69
70
.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 (+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-%%QT_SUFFIX%%
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