63 lines
1.5 KiB
Makefile
63 lines
1.5 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}
|
|
CATEGORIES?= net kde
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER?= kde@FreeBSD.org
|
|
COMMENT= Network-related programs and modules for KDE
|
|
|
|
LIB_DEPENDS= idn:${PORTSDIR}/devel/libidn \
|
|
slp:${PORTSDIR}/net/openslp
|
|
RUN_DEPENDS= ${QT_PREFIX}/lib/plugins/crypto/libqca-tls.so:${PORTSDIR}/security/qca-tls
|
|
|
|
CONFLICTS= kopete-[0-9]*
|
|
|
|
USE_KDELIBS_VER=3
|
|
PREFIX= ${KDE_PREFIX}
|
|
|
|
USE_PERL5= yes
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
_NO_KDE_CLOSURE=yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_SHLIB= yes
|
|
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
|
|
DO_NOT_COMPILE+=lanbrowsing
|
|
|
|
.if defined(DO_NOT_COMPILE)
|
|
CONFIGURE_ENV+=DO_NOT_COMPILE="${DO_NOT_COMPILE}"
|
|
.endif # defined(DO_NOT_COMPILE)
|
|
|
|
.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
|
|
@${REINPLACE_CMD} \
|
|
-E -e '/^SUBDIRS/s/lisa//g' \
|
|
${WRKSRC}/doc/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|/bin/bash|${SH}|' \
|
|
${WRKSRC}/kopete/plugins/latex/kopete_latexconvert.sh
|
|
|
|
post-configure:
|
|
.if ${OSVERSION} < 500028
|
|
@${REINPLACE_CMD} -e 's|$$(depcomp)||g' \
|
|
${WRKSRC}/kopete/protocols/jabber/libiris/iris/xmpp-core/Makefile
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|