summaryrefslogtreecommitdiff
path: root/misc/kwatch/Makefile
blob: 5627c330a29bda646d8b55638792777e3b509503 (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
# 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=	5
CATEGORIES=	misc kde
MASTER_SITES=	http://www.m-j-s.net/pub/kde/

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

USE_KDELIBS_VER=3
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:22
USE_GETTEXT=	yes
INSTALLS_ICONS=	yes

DOCSDIR=	${PREFIX}/share/doc/HTML

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>