aboutsummaryrefslogtreecommitdiffstats
path: root/misc/kwatch/Makefile
blob: f29af36d74b0309ac7bfe7e66b263f50f32310f4 (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
# New ports collection makefile for:   kwatch
# Date created:        23 May 1998
# Whom:                Hans Petter Bieker <zerium@webindex.no>
#
# $FreeBSD$
#

PORTNAME=   kwatch
PORTVERSION=    2.3.3
PORTREVISION=   1
CATEGORIES= misc kde
MASTER_SITES=   http://www.m-j-s.net/pub/kde/ \
        ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/apps/KDE3.x/admin/

MAINTAINER= ports@FreeBSD.org
COMMENT=    KDE/Qt log file viewer

USE_KDELIBS_VER=    3
USE_REINPLACE=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

post-patch:
    @${REINPLACE_CMD} -e 's,-O2 ,,g ; \
         s,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e \
        's,$$(LIB_KFILE)$$,$$(LIB_KFILE) $$(LIBPTHREAD),g' \
            ${WRKSRC}/kwatch/Makefile.in

.include <bsd.port.mk>