2006-10-12 19:12:18 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.71 2006/10/12 23:12:19 espie Exp $
|
2002-03-23 10:01:20 -05:00
|
|
|
|
2004-04-13 00:22:36 -04:00
|
|
|
COMMENT= "K Desktop Environment, libraries"
|
2005-11-29 09:00:11 -05:00
|
|
|
COMMENT-cups= "K Desktop Environment, cups support"
|
2002-03-23 10:01:20 -05:00
|
|
|
CATEGORIES= x11 x11/kde
|
2006-10-12 19:12:18 -04:00
|
|
|
VERSION= 3.5.5
|
2002-10-28 16:44:31 -05:00
|
|
|
DISTNAME= kdelibs-${VERSION}
|
2006-01-23 04:19:36 -05:00
|
|
|
MASTER_SITES0= ftp://ftp.kde.org/pub/kde/security_patches/
|
2006-02-03 07:23:14 -05:00
|
|
|
#PATCHFILES= post-3.4.3-kdelibs-kjs.diff:0
|
2006-01-23 04:19:36 -05:00
|
|
|
|
2006-06-03 08:47:30 -04:00
|
|
|
PKGNAME= ${DISTNAME}
|
2006-02-03 07:23:14 -05:00
|
|
|
PKGNAME-cups= kdecups-${VERSION}
|
2006-06-03 08:47:30 -04:00
|
|
|
MODKDE_VERSION?= 3.5.3
|
2006-01-13 17:49:54 -05:00
|
|
|
SHARED_LIBS= DCOP 7.0 \
|
|
|
|
artskde 4.0 \
|
|
|
|
kabc 4.0 \
|
|
|
|
kabc_dir 2.0 \
|
|
|
|
kabc_file 2.0 \
|
|
|
|
kabc_ldapkio 2.0 \
|
|
|
|
kabc_net 2.0 \
|
|
|
|
katepartinterfaces 1.0 \
|
|
|
|
kdecore 7.0 \
|
|
|
|
kdefakes 7.0 \
|
|
|
|
kdefx 7.0 \
|
|
|
|
kdeprint 7.0 \
|
|
|
|
kdeprint_management 7.0 \
|
|
|
|
kdesasl 4.0 \
|
|
|
|
kdesu 7.0 \
|
|
|
|
kdeui 7.0 \
|
|
|
|
kdnssd 2.0 \
|
|
|
|
khtml 7.0 \
|
|
|
|
kimproxy 1.0 \
|
|
|
|
kio 7.0 \
|
|
|
|
kjava 2.0 \
|
|
|
|
kjs 4.0 \
|
|
|
|
kmdi 2.0 \
|
|
|
|
kmdi2 2.0 \
|
|
|
|
kmediaplayer 1.0 \
|
|
|
|
kmid 1.0 \
|
|
|
|
knewstuff 2.0 \
|
|
|
|
kntlm 1.0 \
|
|
|
|
kparts 4.0 \
|
|
|
|
kresources 4.0 \
|
|
|
|
kscreensaver 7.0 \
|
|
|
|
kscript 1.0 \
|
|
|
|
kspell 7.0 \
|
|
|
|
kspell2 2.0 \
|
|
|
|
ktexteditor 1.0 \
|
|
|
|
kunittest 2.0 \
|
|
|
|
kutils 4.0 \
|
|
|
|
kwalletbackend 2.0 \
|
|
|
|
kwalletclient 2.0 \
|
|
|
|
vcard 1.0
|
2002-03-23 10:01:20 -05:00
|
|
|
|
2003-07-30 08:59:21 -04:00
|
|
|
FLAVORS=debug
|
2004-02-02 09:59:57 -05:00
|
|
|
VMEM_WARNING= Yes
|
2005-11-29 09:00:11 -05:00
|
|
|
|
|
|
|
|
|
|
|
MULTI_PACKAGES= -cups
|
|
|
|
CONFIGURE_ARGS+= --enable-cups
|
|
|
|
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2006-04-01 05:49:17 -05:00
|
|
|
BUILD_DEPENDS+= ::devel/pkgconfig
|
2005-11-29 09:00:11 -05:00
|
|
|
LIB_DEPENDS+= art_lgpl_2::graphics/libart
|
2006-06-03 08:47:30 -04:00
|
|
|
LIB_DEPENDS+= idn::devel/libidn
|
2005-11-29 09:00:11 -05:00
|
|
|
WANTLIB+= intl iconv util jpeg m X11 ICE Xrender c SM pthread \
|
|
|
|
stdc++ Xext z png
|
|
|
|
|
|
|
|
.if !defined(PACKAGING) || ${SUBPACKAGE:L} == ""
|
|
|
|
|
2006-08-03 06:53:35 -04:00
|
|
|
LIB_DEPENDS+= artsflow.>=1.0,artsflow_idl,qtmcop,soundserver_idl,mcop,kmedia2_idl::x11/kde/arts3 \
|
2002-03-23 10:01:20 -05:00
|
|
|
pcreposix,pcre::devel/pcre \
|
2006-08-03 06:53:35 -04:00
|
|
|
xslt.>=1.10:libxslt->=1.0.10:textproc/libxslt \
|
2002-03-23 10:01:20 -05:00
|
|
|
bz2::archivers/bzip2 \
|
2006-08-03 06:53:35 -04:00
|
|
|
tiff.>=35::graphics/tiff \
|
2004-07-24 08:47:13 -04:00
|
|
|
jasper::graphics/jasper
|
2002-03-23 10:01:20 -05:00
|
|
|
|
2006-09-18 08:19:39 -04:00
|
|
|
WANTLIB+= audiofile esd glib-2.0 \
|
|
|
|
gmodule-2.0 gthread-2.0 mad ogg \
|
2005-11-29 09:00:11 -05:00
|
|
|
ossaudio vorbisenc vorbis vorbisfile \
|
|
|
|
xml2 krb5 gssapi crypto asn1
|
2005-03-30 05:34:33 -05:00
|
|
|
|
2005-01-31 04:12:02 -05:00
|
|
|
|
|
|
|
LIB_DEPENDS+= Half,Iex,Imath,IlmImf::graphics/openexr \
|
|
|
|
aspell::textproc/aspell/core
|
2006-02-11 13:22:35 -05:00
|
|
|
RUN_DEPENDS+= ::x11/hicolor-icon-theme
|
2005-11-29 09:00:11 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(PACKAGING) || ${SUBPACKAGE:L} == "-cups"
|
|
|
|
LIB_DEPENDS+= cups::print/cups
|
|
|
|
WANTLIB+= gcrypt gnutls gpg-error
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE:L} == "-cups"
|
2006-08-03 06:53:35 -04:00
|
|
|
LIB_DEPENDS+= kdecore.>=6,kwalletclient,kdefakes,kdefx,kdeprint,kio,kparts,kdeui,kdesu,kdeprint_management,DCOP::x11/kde/libs3
|
2005-11-29 09:00:11 -05:00
|
|
|
.endif
|
2004-02-02 19:58:29 -05:00
|
|
|
|
2003-01-07 10:36:35 -05:00
|
|
|
SEPARATE_BUILD= flavored
|
2004-02-01 09:59:21 -05:00
|
|
|
SAMPLECONFDIR=${TRUEPREFIX}/share/apps/kde-conf-sample
|
|
|
|
EXTRA_CONFIG=xdg/menus/applications.menu
|
2002-04-15 02:53:53 -04:00
|
|
|
|
2004-02-01 09:59:21 -05:00
|
|
|
FAKE_FLAGS=DESTDIR=${WRKINST} sysconfdir=${SAMPLECONFDIR}
|
|
|
|
|
2005-03-30 05:34:33 -05:00
|
|
|
post-extract:
|
|
|
|
cp ${FILESDIR}/krb5-config ${WRKDIR}/bin
|
|
|
|
chmod a+x ${WRKDIR}/bin/krb5-config
|
|
|
|
|
2005-02-14 09:10:30 -05:00
|
|
|
post-install:
|
2005-03-29 16:18:34 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/libtool ${PREFIX}/bin/kdelibtool
|
2005-02-14 09:10:30 -05:00
|
|
|
|
2005-12-17 06:27:44 -05:00
|
|
|
USE_LIBTOOL=Yes
|
|
|
|
LIBTOOL_FLAGS=--tag=disable-static
|
2002-03-23 10:01:20 -05:00
|
|
|
.include <bsd.port.mk>
|
2004-03-07 16:08:43 -05:00
|
|
|
MODGNU_AUTOCONF_FILES+= dcop/dcop-path.h.in
|