2001-03-02 16:17:22 +01:00
|
|
|
# New ports collection makefile for: KDE SDK
|
|
|
|
# Date created: 2 March 2001
|
|
|
|
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kdesdk
|
2002-07-04 21:39:36 +02:00
|
|
|
PORTVERSION= ${KDE_VERSION}
|
2001-03-02 16:17:22 +01:00
|
|
|
CATEGORIES= devel kde
|
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
2004-08-30 21:55:42 +02:00
|
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
|
2001-09-10 22:22:28 +02:00
|
|
|
DIST_SUBDIR= KDE
|
2001-03-02 16:17:22 +01:00
|
|
|
|
2001-09-01 10:35:47 +02:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= KDE Software Development Kit
|
2001-03-02 16:17:22 +01:00
|
|
|
|
2005-10-04 13:23:27 +02:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2005-03-20 19:17:55 +01:00
|
|
|
LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 \
|
|
|
|
svn_client-1.0:${PORTSDIR}/devel/subversion
|
2001-08-21 10:23:03 +02:00
|
|
|
|
2004-07-31 20:22:27 +02:00
|
|
|
CONFLICTS= umbrello-[0-9]* kcachegrind-[0-9]*
|
2004-02-05 15:18:58 +01:00
|
|
|
|
2002-04-22 01:47:50 +02:00
|
|
|
USE_KDEBASE_VER=3
|
2003-01-28 19:36:58 +01:00
|
|
|
PREFIX= ${KDE_PREFIX}
|
|
|
|
|
2004-02-05 02:23:10 +01:00
|
|
|
USE_PERL5= yes
|
2002-04-22 01:47:50 +02:00
|
|
|
USE_BZIP2= yes
|
2001-03-02 16:17:22 +01:00
|
|
|
USE_GMAKE= yes
|
2006-03-30 22:30:29 +02:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2003-01-28 19:36:58 +01:00
|
|
|
|
2001-08-21 10:23:03 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-04-22 01:47:50 +02:00
|
|
|
LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
|
2001-03-02 16:17:22 +01:00
|
|
|
|
2006-01-08 20:32:36 +01:00
|
|
|
CONFIGURE_ARGS+=--with-db-include-dir=${LOCALBASE}/include/db4 \
|
|
|
|
--with-db-lib-dir=${LOCALBASE}/lib --with-db-name=db4 \
|
2005-03-20 19:17:55 +01:00
|
|
|
--with-apr-config=${LOCALBASE}/bin/apr-1-config \
|
|
|
|
--with-apu-config=${LOCALBASE}/bin/apu-1-config
|
2004-08-30 21:55:42 +02:00
|
|
|
|
2006-01-08 20:32:36 +01:00
|
|
|
MAN1= cervisia.1 cvsblame.1 cvscheck.1 cvsversion.1 includemocs.1 kde-build.1 kdesvn-build.1 noncvslist.1
|
2004-08-30 21:55:42 +02:00
|
|
|
|
2004-08-06 16:20:08 +02:00
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
.if !defined(WITH_OPTIONAL_DEPENDS)
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)"
|
|
|
|
@${ECHO_MSG} "to automatically build the suggested programs to complement kdesdk3."
|
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
|
|
|
|
2004-09-02 09:51:13 +02:00
|
|
|
# callgrind is optional. It depends on valgrind, which is i386 only.
|
2004-08-06 16:20:08 +02:00
|
|
|
.if defined(WITH_OPTIONAL_DEPENDS) && ${ARCH} == "i386"
|
2004-09-02 09:51:13 +02:00
|
|
|
RUN_DEPENDS+= callgrind:${PORTSDIR}/devel/callgrind
|
2004-08-06 16:20:08 +02:00
|
|
|
.endif
|
|
|
|
|
2005-06-26 17:38:58 +02:00
|
|
|
post-patch:
|
|
|
|
# Breakage might be caused by security/heimdal's broken fnmatch.h
|
|
|
|
@${REINPLACE_CMD} -e 's|<\(fnmatch.h\)>|"/usr/include/\1"|' \
|
|
|
|
${WRKSRC}/cervisia/stringmatcher.cpp
|
|
|
|
|
2004-08-06 16:20:08 +02:00
|
|
|
.include <bsd.port.post.mk>
|