summaryrefslogtreecommitdiffstats
path: root/ftp/kbear/Makefile
blob: 74801e5d0c986de25a6685c73f5a73989653399f (plain)
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
# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$

PORTNAME=		kbear
PORTVERSION=		3.0.a.1
PORTREVISION=	12
CATEGORIES=		ftp kde
MASTER_SITES=		SF/${PORTNAME}/${PORTNAME}/3.0alpha1
DISTNAME=		${PORTNAME}-${PORTVERSION:S/.a.1/alpha1b/}-1.src

PATCH_SITES=		http://www.brueffer.de/distfiles/
PATCHFILES=		${DISTNAME:S/.src/-patch/}.gz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Graphical FTP client for KDE

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.a.1/alpha1b/}

USE_LDCONFIG=	yes
USE_KDELIBS_VER=3
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool
CONFIGURE_ENV=	XML2POT=${TRUE} PO2XML=${TRUE}
LDFLAGS+=	${PTHREAD_LIBS}

post-patch:
	@${REINPLACE_CMD} -e 's|-O2|-fPIC|g; s|-lpthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud