aboutsummaryrefslogtreecommitdiffstats
path: root/mail/kbiff/Makefile
blob: d38820421daecad6f41cd2dab5c0f3fcd464d025 (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
# New ports collection makefile for:    kbiff
# Date created:     So  14 Jun 1998 13:09:18 CEST
# Whom:         andreas
#
# $FreeBSD$
#

PORTNAME=   kbiff
PORTVERSION=    3.8
CATEGORIES= mail kde
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= barner@FreeBSD.org
COMMENT=    Mail notification utility for KDE with nice features

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_KDELIBS_VER=3
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ARGS= --disable-fast-perl
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
MAN1=       kbiff.1

post-patch:
    @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure

.include <bsd.port.mk>