summaryrefslogtreecommitdiffstats
path: root/sysutils/kdar/Makefile
blob: e8a7cf6801a537805d748e6d46b1fe23b35b1b3a (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
32
33
34
35
# New ports collection makefile for:	kdar
# Date created:		2004-01-26
# Whom:			Kay Lehmann <kay_lehmann@web.de>
#
# $FreeBSD$
#

PORTNAME=	kdar
PORTVERSION=	2.0.7
CATEGORIES=	sysutils kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	kdar
DISTNAME=	kdar-${PORTVERSION:S/.b./-beta/}

MAINTAINER=	kay_lehmann@web.de
COMMENT=	KDar is KDE-based backuptool using libdar

LIB_DEPENDS=	dar.3:${PORTSDIR}/sysutils/dar

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15
USE_KDEBASE_VER=3
USE_REINPLACE=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
IGNORE=		Does not build on FreeBSD 4.X
.endif

post-patch:
	@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure

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