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

PORTNAME=   kdiff3
PORTVERSION=    0.9.89
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_KDEBASE_VER=3
USE_AUTOTOOLS=  libtool:15

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>