# New ports collection makefile for:	kmyirc
# Date created:		25 November 2002
# Whom:			Frank Laszlo <laszlof@vonostingroup.com>
#
# $FreeBSD: ports/irc/kmyirc/Makefile,v 1.18 2010/02/05 11:39:44 dinoex Exp $

PORTNAME=		kmyirc
PORTVERSION=		0.2.9
PORTREVISION=	9
CATEGORIES=		irc kde
MASTER_SITES=		SF/${PORTNAME}/${PORTNAME}-alpha/${PORTVERSION}

MAINTAINER=		ports@FreeBSD.org
COMMENT=		Easy to use IRC client for KDE

USE_AUTOTOOLS=		libtool:22
USE_KDELIBS_VER=	3
USE_GMAKE=		yes

post-patch:
	${REINPLACE_CMD} -e "s,-O0,${CFLAGS},g;s,NOOPT_,,g; \
		s,-pedantic ,,g;s,-pedantic-errors,,g" ${WRKSRC}/configure
	${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
		${REINPLACE_CMD} -e "s,NOOPT_,,g;s,FLAGS@,FLAGS@ -fPIC,"

.include <bsd.port.mk>
