freebsd-ports/net-p2p/qbittorrent-22/Makefile
Jose Alonso Cardenas Marquez 08e52f7ae6 - Bump PORTREVISION. The commoncpp port has been updated
- ccscript bump PORTREVISION is not neccesary because it has been  marked as
  BROKEN

Reported by:	pav
2009-11-13 22:15:47 +00:00

48 lines
1.3 KiB
Makefile

# New ports collection makefile for: qbittorrent
# Date created: 2007-04-01
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= qbittorrent
PORTVERSION= 1.4.1
PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Bittorrent client written in C++ / Qt4 using libtorrent
LIB_DEPENDS= ccext2-1.7.0:${PORTSDIR}/devel/commoncpp \
execinfo.1:${PORTSDIR}/devel/libexecinfo \
zzip.13:${PORTSDIR}/devel/zziplib \
curl.5:${PORTSDIR}/ftp/curl \
torrent-rasterbar.5:${PORTSDIR}/net-p2p/rblibtorrent-devel
USE_QT_VER= 4
QT_COMPONENTS= corelib gui network xml \
moc_build qmake_build rcc_build uic_build
QT_NONSTANDARD= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-libcurl-inc="${LOCALBASE}/include" \
--with-libcurl-lib="${LOCALBASE}/lib" \
--with-libzzip-inc="${LOCALBASE}/include" \
--with-libzzip-lib="${LOCALBASE}/lib"
INSTALLS_ICONS= yes
MAN1= qbittorrent.1
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|$$$$PREFIX/share/man|${MANPREFIX}/man|' \
${WRKSRC}/src/src.pro
@${ECHO_CMD} "LIBS+= -lexecinfo" >> ${WRKSRC}/src/src.pro
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/configure
post-install:
@${STRIP_CMD} ${PREFIX}/bin/qbittorrent
.include <bsd.port.post.mk>