openbsd-ports/x11/kde/base3/Makefile
espie a0d85fda46 update a large subset of kde 3 to 3.5.7.
Simplify the infrastructure a bit, and let it compile with libfam, now...
2007-05-25 09:49:53 +00:00

73 lines
2.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.74 2007/05/25 09:49:54 espie Exp $
COMMENT-main= "K Desktop Environment, basic applications"
COMMENT-plugins= "Konqueror nsplugins, essentially native JDK"
COMMENT-samba= "K Desktop Environment, samba support"
CATEGORIES= x11 x11/kde
VERSION= 3.5.7
DISTNAME= kdebase-${VERSION}
PKGNAME-main= ${DISTNAME}
PKGNAME-samba= kdesamba-${VERSION}
MODKDE_VERSION?= 3.5.7
SHARED_LIBS += konq 7.0 # .6.0
SHARED_LIBS += kateutils 1.0 # .0.0
SHARED_LIBS += kateinterfaces 1.0 # .0.0
SHARED_LIBS += khotkeys_shared 2.0 # .1.0
SHARED_LIBS += ksplashthemes 1.0 # .0.0
SHARED_LIBS += ksgrd 4.0 # .3.0
SHARED_LIBS += kdecorations 2.0 # .1.0
SHARED_LIBS += konqsidebarplugin 4.0 # .3.0
SHARED_LIBS += kickermain 2.0 # .1.0
SHARED_LIBS += taskmanager 2.0 # .1.0
SHARED_LIBS += taskbar 4.0 # .3.0
SHARED_LIBS += kasbar 2.0 # .1.0
SHARED_LIBS += kfontinst 1.0 # .0.0
MULTI_PACKAGES= -main -samba
FLAVORS= debug
LIB_DEPENDS= kdecore.>=6,DCOP,kio,kdeui,kdefx,kdesu,kwalletclient::x11/kde/libs3
WANTLIB= ICE Xrender SM pthread util X11 m z png jpeg art_lgpl_2 Xext idn iconv fam rpcsvc stdc++ Xdmcp Xau
LIB_DEPENDS-main= ${LIB_DEPENDS} \
kabc,katepartinterfaces,kdefakes,kdnssd,kdeprint,kdeprint_management,khtml,kjs,knewstuff,kmid,kparts,kresources,kscreensaver,ktexteditor,kutils,vcard,artskde::x11/kde/libs3 \
lber,ldap.>=2:openldap-client-2.*:databases/openldap \
sasl2::security/cyrus-sasl2 \
usb::devel/libusb \
glib-2.0,gmodule-2.0,gthread-2.0::devel/glib2
WANTLIB-main= ${WANTLIB} \
Xcursor Xrandr Xss Xt Xtst Xxf86misc \
artsflow artsflow_idl audiofile c crypto esd \
freetype intl kmedia2_idl mad mcop ogg ossaudio \
pcre pcreposix qtmcop soundserver_idl ssl \
vorbis vorbisenc vorbisfile xkbfile GLU fontenc \
Xinerama Xft Xfixes fontconfig GL Xcomposite Xdamage \
Half Imath IlmImf Iex asn1 com_err gssapi krb5 \
expat
LIB_DEPENDS-samba= ${LIB_DEPENDS} \
lib/samba/smbclient:samba->=3:net/samba
SEPARATE_BUILD= flavored
EXTRA_CONFIG= xdg/menus/kde-settings.menu \
xdg/menus/kde-information.menu \
xdg/menus/kde-screensavers.menu \
xdg/menus/applications-merged/kde-essential.menu \
ksysguarddrc
CONFIGURE_ENV+= PKG_CONFIG_PATH=${X11BASE}/lib/pkgconfig
SAMPLECONFDIR=${PREFIX}/share/apps/kde-conf-sample
SUBST_VARS=EXTRA_CONFIG SAMPLECONFDIR
post-install:
rm -rf ${PREFIX}/share/config/kdm
${INSTALL_PROGRAM} ${WRKBUILD}/kdm/kfrontend/genkdmconf ${PREFIX}/libexec
FAKE_FLAGS=${MAKE_FLAGS} DESTDIR=${WRKINST} sysconfdir=${SAMPLECONFDIR}
.include <bsd.port.mk>