aboutsummaryrefslogtreecommitdiffstats
path: root/net/kwooty/Makefile
blob: babba2441766be556fc7feeab75b8b0202f4e333 (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
# Created by: Mina R Waheeb <syncer@gmail.com>
# $FreeBSD$

PORTNAME=   kwooty
PORTVERSION=    0.8.3
PORTREVISION=   1
CATEGORIES= net kde
MASTER_SITES=   SF/${PORTNAME}

MAINTAINER= syncer@gmail.com
COMMENT=    Usenet binary downloader for KDE4

RUN_DEPENDS=    ${LOCALBASE}/bin/unrar:${PORTSDIR}/archivers/unrar \
        ${LOCALBASE}/bin/par2:${PORTSDIR}/archivers/par2cmdline \
        ${LOCALBASE}/bin/7z:${PORTSDIR}/archivers/p7zip

USE_KDE4=   kdelibs kdehier kdeprefix automoc4 workspace
USE_QT4=    qmake_build moc_build rcc_build uic_build
USES=       cmake
USE_LDCONFIG=   yes

NO_STAGE=   yes
post-patch:
    ${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g' \
        ${WRKSRC}/src/preferences/kwootysettings.kcfg
    ${REINPLACE_CMD} -e 's|PreferencesServer::MAX_SERVERS|5|g' \
        ${WRKSRC}/src/preferences/*.cpp \
        ${WRKSRC}/src/widgets/*.cpp

.include <bsd.port.mk>