aboutsummaryrefslogtreecommitdiffstats
path: root/net/kmess/Makefile
blob: 7a6b272e5ba4ef968a91b631483adc03117a3b70 (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
33
34
35
# New ports collection makefile for:    kmess
# Date created:         21 June 2002
# Whom:             Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#

PORTNAME=   kmess
PORTVERSION=    1.2
CATEGORIES= net kde
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= perky@FreeBSD.org
COMMENT=    MSN Messenger Client for KDE3

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=         "Does not compile (bad C++ code)"
.endif

pre-patch:
    ${REINPLACE_CMD} -e '23s/^.*$$/#include <unistd.h>/' \
        ${WRKSRC}/kmess/kmessview.cpp
    ${REINPLACE_CMD} -e '20s/^.*$$/#include <ctype.h>/' \
        ${WRKSRC}/kmess/network/mimemessage.h

.include "${PORTSDIR}/x11/kde3/Makefile.kde"
.include <bsd.port.post.mk>