freebsd-ports/devel/kdesdk3/Makefile
Max Brazhnikov bf492587b1 Switch optional dependency from removed devel/callgrind to devel/valgrind
Clean up a bit while here

PR:		ports/147437
Reported by:	Anatoly Borodin <anatoly.borodin AT gmail.com>
2010-06-05 10:59:43 +00:00

58 lines
1.5 KiB
Makefile

# New ports collection makefile for: KDE SDK
# Date created: 2 March 2001
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kdesdk
PORTVERSION= ${KDE_VERSION}
PORTREVISION= 6
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Software Development Kit
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= svn_client-1.0:${PORTSDIR}/devel/subversion
CONFLICTS= umbrello-[0-9]* kcachegrind-[0-9]*
USE_KDEBASE_VER=3
USE_PERL5= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_BDB= yes
USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \
--with-db-include-dir=${BDB_INCLUDE_DIR} \
--with-db-lib-dir=${BDB_LIB_DIR} --with-db-name=${BDB_LIB_NAME} \
--with-apr-config=${LOCALBASE}/bin/apr-1-config \
--with-apu-config=${LOCALBASE}/bin/apu-1-config \
--with-svn-include=${LOCALBASE}/include \
--with-svn-lib=${LOCALBASE}/lib
MAN1= cervisia.1 cvsblame.1 cvscheck.1 cvsversion.1 includemocs.1 kde-build.1 kdesvn-build.1 noncvslist.1
OPTIONS= VALGRIND "Install devel/valgrind" off
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
.if defined(WITH_VALGRIND)
RUN_DEPENDS+= valgrind:${PORTSDIR}/devel/valgrind
.endif
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
.include <bsd.port.post.mk>