aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/sharktorrent/Makefile
blob: d5db30e76cb74449f69e9d6f03bd33862bf83226 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    sharktorrent
# Date created:             2007-04-25
# Whom:                 alepulver
#
# $FreeBSD$
#

PORTNAME=   sharktorrent
PORTVERSION=    0.1.8.4
PORTREVISION=   2
CATEGORIES= net-p2p
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${PORTVERSION}-beta-src

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    C++ Bittorrent client using wxWidgets, libtorrent and boost

LIB_DEPENDS=    boost_filesystem.4:${PORTSDIR}/devel/boost-libs \
        torrent-rasterbar.5:${PORTSDIR}/net-p2p/libtorrent-rasterbar-14

USE_QT4=    qmake_build moc_build rcc_build corelib gui network
MAKE_JOBS_SAFE= yes

PLIST_FILES=    bin/sharktorrent

WRKSRC=     ${WRKDIR}/${PORTNAME}

post-patch:
    ${REINPLACE_CMD} -e 's|/opt|${LOCALBASE}|; s|-mt||' \
        ${WRKSRC}/src/src.pro

do-configure:
    cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
        ${QMAKE} ${QMAKEFLAGS} sharktorrent.pro

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>