summaryrefslogtreecommitdiff
path: root/textproc/kdiff3/Makefile
blob: 158d26e7e6cc295bc3260b09b859137bec9b1141 (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
35
36
# New ports collection makefile for:	kdiff3
# Date created:		2003/01/03
# Whom:			Heiner Eichmann <h.eichmann@gmx.de>
#
# $FreeBSD$
#

PORTNAME=	kdiff3
PORTVERSION=	0.9.84
PORTREVISION=	1
CATEGORIES=	textproc kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	h.eichmann@gmx.de
COMMENT=	A KDE3 graphical frontend for diff

USE_KDELIBS_VER=	3
GNU_CONFIGURE=	yes
USE_INC_LIBTOOL_VER=	13
USE_REINPLACE=	yes

CONFIGURE_ENV=	LDFLAGS="${PTHREAD_LIBS}"

MAN1=	kdiff3.1

pre-configure:
.for i in config.h.in Makefile.in
	${TOUCH} ${WRKSRC}/${i}
.endfor

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

.include <bsd.port.mk>