aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/kwebget/Makefile
blob: a9257d72a459d9801e7ddd76fa395f68d019e930 (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
# New ports collection makefile for:    kwebget
# Date created:             21 September 2001
# Whom:                 David <ddavid_3@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=   kwebget
PORTVERSION=    0.8.1
PORTREVISION=   7
CATEGORIES= ftp kde
MASTER_SITES=   http://www.kpage.de/download/
DIST_SUBDIR=    KDE

MAINTAINER= ports@FreeBSD.org
COMMENT=    A KDE frontend to wget

RUN_DEPENDS=    ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_BZIP2=  yes
USE_KDELIBS_VER=3
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:22

post-patch:
    @${REINPLACE_CMD} -e 's|-O2||g ; \
         s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
    @${REINPLACE_CMD} -e \
        's|$$(LIBSOCKET)$$|$$(LIBSOCKET) $$(LIBPTHREAD)|g' \
            ${WRKSRC}/kwebget/Makefile.in

.include <bsd.port.mk>