summaryrefslogtreecommitdiffstats
path: root/comms/klog/Makefile
blob: f12889f30b906343784a0f55cd02dbb53e726bbb (plain)
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
# New ports collection makefile for:	klog
# Date created:		2004-07-05
# Whom:			Matt Dawson <matt@mattsnetwork.co.uk>
#
# $FreeBSD$

PORTNAME=	klog
PORTVERSION=	0.2.8
PORTREVISION=	1
CATEGORIES=	comms
MASTER_SITES=	http://download.berlios.de/klog/

MAINTAINER=	az@inec.ru
COMMENT=	ADIF compatible logging application

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
post-patch:
	@${FIND} ${WRKSRC} -name "*.cpp" -and -not -name "main.cpp"| \
	${XARGS} ${REINPLACE_CMD} -e "s|^};|}|;s|{};|{}|;s|;};|;}|g"
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud