openbsd-ports/x11/kde/libs3/Makefile

112 lines
3.9 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.80 2007/05/09 11:31:43 bernd Exp $
2002-03-23 10:01:20 -05:00
2006-11-20 18:48:04 -05:00
COMMENT-main= "K Desktop Environment, libraries"
COMMENT-cups= "K Desktop Environment, cups support"
2002-03-23 10:01:20 -05:00
CATEGORIES= x11 x11/kde
VERSION= 3.5.6
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
PKGNAME-main= ${DISTNAME}p2
PKGNAME-cups= kdecups-${VERSION}p1
MODKDE_VERSION?= 3.5.3
2006-10-28 07:52:13 -04:00
SHARED_LIBS += DCOP 7.0 # .6.0
SHARED_LIBS += kdefx 7.0 # .6.0
SHARED_LIBS += kdefakes 7.0 # .6.0
SHARED_LIBS += kdecore 7.0 # .6.0
SHARED_LIBS += kunittest 2.0 # .1.0
SHARED_LIBS += kdeui 7.0 # .6.0
SHARED_LIBS += kspell 7.0 # .6.0
SHARED_LIBS += kdesu 7.0 # .6.0
SHARED_LIBS += kjs 4.0 # .3.0
SHARED_LIBS += kwalletclient 2.0 # .1.1
SHARED_LIBS += kwalletbackend 2.0 # .1.0
SHARED_LIBS += kio 7.0 # .6.0
SHARED_LIBS += kdesasl 4.0 # .3.0
SHARED_LIBS += kntlm 1.0 # .0.0
SHARED_LIBS += artskde 4.0 # .3.0
SHARED_LIBS += kdnssd 2.0 # .1.0
SHARED_LIBS += knewstuff 2.0 # .1.0
SHARED_LIBS += kparts 4.0 # .3.0
SHARED_LIBS += kresources 4.0 # .3.0
SHARED_LIBS += kutils 4.0 # .3.0
SHARED_LIBS += kmid 1.0 # .0.95
SHARED_LIBS += kscreensaver 7.0 # .6.0
SHARED_LIBS += kdeprint 7.0 # .6.0
SHARED_LIBS += kdeprint_management 7.0 # .6.0
SHARED_LIBS += vcard 1.0 # .0.0
SHARED_LIBS += kabc 4.0 # .3.0
SHARED_LIBS += kabc_file 2.0 # .1.0
SHARED_LIBS += kabc_dir 2.0 # .1.0
SHARED_LIBS += kabc_net 2.0 # .1.0
SHARED_LIBS += kabc_ldapkio 2.0 # .1.0
SHARED_LIBS += kspell2 2.0 # .1.0
SHARED_LIBS += kmdi2 2.0 # .1.0
SHARED_LIBS += kmdi 2.0 # .1.0
SHARED_LIBS += kjava 2.0 # .1.0
SHARED_LIBS += khtml 7.0 # .6.0
SHARED_LIBS += ktexteditor 1.0 # .0.0
SHARED_LIBS += kscript 1.0 # .0.0
SHARED_LIBS += kmediaplayer 1.0 # .0.0
SHARED_LIBS += kimproxy 1.0 # .0.0
SHARED_LIBS += katepartinterfaces 1.0 # .0.0
2002-03-23 10:01:20 -05:00
2003-07-30 08:59:21 -04:00
FLAVORS=debug
VMEM_WARNING= Yes
2006-11-20 18:48:04 -05:00
MULTI_PACKAGES= -main -cups
CONFIGURE_ARGS+= --enable-cups
2006-11-20 18:48:04 -05:00
LIB_DEPENDS= art_lgpl_2::graphics/libart \
idn::devel/libidn
WANTLIB= intl iconv util jpeg m X11 ICE Xrender c SM pthread \
stdc++ Xext z png
2006-11-20 18:48:04 -05:00
LIB_DEPENDS-main=${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 \
2006-11-20 18:48:04 -05:00
jasper::graphics/jasper \
Half,Iex,Imath,IlmImf::graphics/openexr \
aspell::textproc/aspell/core
2002-03-23 10:01:20 -05:00
2006-11-20 18:48:04 -05:00
WANTLIB-main= ${WANTLIB} \
audiofile esd glib-2.0 \
2006-09-18 08:19:39 -04:00
gmodule-2.0 gthread-2.0 mad ogg \
ossaudio vorbisenc vorbis vorbisfile \
xml2 krb5 gssapi crypto asn1
2005-03-30 05:34:33 -05:00
2006-11-20 18:48:04 -05:00
RUN_DEPENDS-main=::x11/hicolor-icon-theme
LIB_DEPENDS-cups=${LIB_DEPENDS} \
kdecore.>=6,kwalletclient,kdefakes,kdefx,kdeprint,kio,kparts,kdeui,kdesu,kdeprint_management,DCOP::x11/kde/libs3 \
cups::print/cups
2006-11-20 18:48:04 -05:00
WANTLIB-cups= ${WANTLIB} \
crypto ssl
2006-11-20 18:48:04 -05:00
USE_X11= Yes
SEPARATE_BUILD= flavored
SAMPLECONFDIR=${TRUEPREFIX}/share/apps/kde-conf-sample
EXTRA_CONFIG=xdg/menus/applications.menu
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:
${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>
MODGNU_AUTOCONF_FILES+= dcop/dcop-path.h.in