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

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

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

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

USE_KDE4=   kdelibs automoc4 workspace
USE_QT4=    qmake_build moc_build rcc_build uic_build
USES=       cmake gettext
USE_LDCONFIG=   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>