aboutsummaryrefslogtreecommitdiffstats
path: root/irc/kmyirc/Makefile
blob: c823bb33aac267b13555ee753c2c6275d0aa7c72 (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
# New ports collection makefile for:    kmyirc
# Date created:     25 November 2002
# Whom:         Frank Laszlo <laszlof@vonostingroup.com>
#
# $FreeBSD$

PORTNAME=       kmyirc
PORTVERSION=        0.2.9
PORTREVISION=       2
CATEGORIES=     irc kde
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER=     laszlof@vonostingroup.com
COMMENT=        Easy to use IRC client for KDE

GNU_CONFIGURE=      yes
USE_KDELIBS_VER=    3
USE_GMAKE=      yes
USE_REINPLACE=      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>