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

PORTNAME=   kdiff3
PORTVERSION=    0.9.88
PORTREVISION=   2
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
USE_AUTOTOOLS=  libtool:15
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>