freebsd-ports/net/kdenetwork4/Makefile
Michael Nottebrock b3cefb63d8 Fix Yahoo! messenger protocol support in kopete.
Obtained from: KDE CVS / Matt Rogers / Andy Fawcett
2004-06-26 09:42:53 +00:00

64 lines
1.4 KiB
Makefile

# -*-mode: makefile-*-
# New ports collection makefile for: kdenetwork2
# Date created: 2 November 2001
# Whom: will@cvs.kde.org
#
# $FreeBSD$
#
PORTNAME= kdenetwork
PORTVERSION= ${KDE_VERSION}
PORTREVISION= 1
CATEGORIES?= net kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
COMMENT= Network-related programs and modules for KDE
CONFLICTS= kopete-*
LIB_DEPENDS= slp:${PORTSDIR}/net/openslp
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
KDE_BUILD_PLIST=yes
USE_PERL5= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
pre-configure:
.if ${OSVERSION} < 500028
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|g' \
${WRKSRC}/kopete/protocols/gadu/libgadu/libgadu-config.h.in
.endif
.if !defined(WITHOUT_KTALKD)
UTMP?= /var/run/utmp
.if exists(${UTMP})
PLIST_APPEND+= plist.ktalkd
.else
DO_NOT_COMPILE+= ktalkd
pre-everything::
@${ECHO_MSG} "===> \"${UTMP}\" was not found."
@${ECHO_MSG} "===> The talk daemon (ktalkd) will not be built."
.endif # exists(${UTMP})
.else
DO_NOT_COMPILE+= ktalkd
.endif # !defined(WITHOUT_KTALKD)
.if defined(DO_NOT_COMPILE)
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
.endif # defined(DO_NOT_COMPILE)
.include <bsd.port.post.mk>