2010-11-17 13:44:25 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
2017-04-01 17:23:30 +02:00
|
|
|
PORTREVISION= 4
|
2010-11-17 13:44:25 +01:00
|
|
|
PKGNAMESUFFIX= -qt4
|
|
|
|
|
2011-07-27 23:16:53 +02:00
|
|
|
MAINTAINER= crees@FreeBSD.org
|
2013-03-02 14:48:31 +01:00
|
|
|
COMMENT= Fast and lightweight QT4 BitTorrent client
|
2010-11-17 13:44:25 +01:00
|
|
|
|
|
|
|
LIB_DEPENDS= ${GEN_LIB_DEPENDS}
|
|
|
|
RUN_DEPENDS= ${GEN_RUN_DEPENDS}
|
|
|
|
|
|
|
|
DESCR= ${.CURDIR}/pkg-descr
|
|
|
|
MASTERDIR= ${.CURDIR}/../transmission-cli
|
|
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
SLAVEPORT= qt4
|
|
|
|
|
|
|
|
QT_NONSTANDARD= yes
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= moc_build qmake_build rcc_build uic_build gui dbus network
|
2016-03-02 23:50:29 +01:00
|
|
|
USES= compiler:c++11-lib desktop-file-utils
|
2010-11-17 13:44:25 +01:00
|
|
|
|
|
|
|
EXTRA_CONF_ARGS=--disable-cli \
|
|
|
|
--disable-daemon \
|
2011-12-11 13:26:57 +01:00
|
|
|
--without-gtk \
|
2010-11-17 13:44:25 +01:00
|
|
|
--disable-mac \
|
|
|
|
--disable-nls
|
|
|
|
|
|
|
|
post-patch: general-patch
|
|
|
|
@${REINPLACE_CMD} -e 's|/share/man|/man|g ; /PKGCONFIG/s| openssl||g' \
|
|
|
|
${WRKSRC}/qt/qtr.pro
|
2016-03-03 12:40:38 +01:00
|
|
|
@${ECHO_CMD} 'LIBS += -l${PORT_OPTIONS:M*SSL:tl:S/openssl/crypto/}' \
|
|
|
|
>>${WRKSRC}/qt/qtr.pro
|
2010-11-17 13:44:25 +01:00
|
|
|
|
|
|
|
post-build:
|
2014-08-21 15:19:31 +02:00
|
|
|
@(cd ${WRKSRC}/qt && ${QMAKE} ${QMAKE_ARGS} qtr.pro && ${MAKE_CMD})
|
2010-11-17 13:44:25 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-08-21 15:19:31 +02:00
|
|
|
@(cd ${WRKSRC}/qt && \
|
|
|
|
${SETENV} INSTALL_ROOT=${STAGEDIR}${PREFIX} ${MAKE_CMD} install)
|
2010-11-17 13:44:25 +01:00
|
|
|
|
|
|
|
post-install: general-install
|
2014-04-01 19:28:32 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2013-12-29 18:08:28 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/qt/README.txt \
|
|
|
|
${STAGEDIR}${DOCSDIR}/README-qt4
|
2010-11-17 13:44:25 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/qt/transmission-qt.desktop \
|
2013-12-29 18:08:28 +01:00
|
|
|
${STAGEDIR}${PREFIX}/share/applications/
|
2010-11-17 13:44:25 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.png \
|
2013-12-29 18:08:28 +01:00
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/transmission-qt.png
|
2010-11-17 13:44:25 +01:00
|
|
|
|
|
|
|
.include "${MASTERDIR}/Makefile"
|