aboutsummaryrefslogblamecommitdiff
path: root/net/kmess/Makefile
blob: 3c3ea80ca6240a14832e5eb97f4096955a2e8169 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                   
                   
                 



                                          
                                 
                                             
 

                                                                                

                   
                   
                   
                           

                          
          
                                                            
                                             
                                                           
                                                     

                                                                
                                                                 
 

                                            
# New ports collection makefile for:	kmess
# Date created:			21 June 2002
# Whom:				Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#

PORTNAME=	kmess
PORTVERSION=	1.3
PORTREVISION=	1
CATEGORIES=	net kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

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

BUILD_DEPENDS= ${LOCALBASE}/include/mimelib/mimepp.h:${PORTSDIR}/net/kdenetwork3

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

.include <bsd.port.pre.mk>
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
	${REINPLACE_CMD} -e '35s|^$$|#include <netinet/in.h>|' \
		${WRKSRC}/kmess/network/msnconnection.h
	${REINPLACE_CMD} -e 's,-pedantic ,,g' ${WRKSRC}/configure

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