c3e047e90b
(samba/cups subpackages to fix library issues)
67 lines
2.1 KiB
Makefile
67 lines
2.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.49 2005/11/29 14:00:12 espie Exp $
|
|
|
|
COMMENT= "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.0
|
|
DISTNAME= kdebase-${VERSION}
|
|
PKGNAME= ${DISTNAME}
|
|
PKGNAME-samba= kdesamba-${VERSION}
|
|
MODKDE_VERSION?= 3.5
|
|
|
|
MULTI_PACKAGES= -samba
|
|
SUBPACKAGE?=
|
|
FLAVORS= debug
|
|
|
|
BUILD_DEPENDS+=::devel/pkgconfig
|
|
|
|
WANTLIB+=ICE Xrender SM pthread util X11 m z png jpeg art_lgpl_2 Xext
|
|
|
|
.if !defined(PACKAGING) || ${SUBPACKAGE:L} == ""
|
|
LIB_DEPENDS+= kdecore.6,kabc,katepartinterfaces,kdefakes,kdefx,kdnssd,kdeprint,kdeprint_management,kdesu,kdeui,khtml,kio,kjs,knewstuff,kmid,kparts,kresources,kscreensaver,ktexteditor,kutils,kwalletclient,DCOP,vcard,artskde::x11/kde/libs3 \
|
|
lber,ldap.2:openldap-client-2.*:databases/openldap \
|
|
sasl2::security/cyrus-sasl2 \
|
|
usb::devel/libusb
|
|
LIB_DEPENDS+= \
|
|
glib-2.0.0.0,gmodule-2.0.0.0,gthread-2.0.0.0::devel/glib2
|
|
WANTLIB+= Xcursor Xrandr Xss Xt Xtst Xxf86misc \
|
|
artsflow artsflow_idl audiofile c crypto esd \
|
|
freetype iconv intl kmedia2_idl mad mcop ogg ossaudio \
|
|
pcre pcreposix qtmcop soundserver_idl ssl stdc++ \
|
|
vorbis vorbisenc vorbisfile xkbfile GLU fontenc \
|
|
Xinerama Xft Xfixes fontconfig GL Xcomposite Xdamage \
|
|
Half Imath IlmImf Iex
|
|
|
|
.endif
|
|
|
|
.if !defined(PACKAGING) || ${SUBPACKAGE:L} == "-samba"
|
|
LIB_DEPENDS+= lib/samba/smbclient:samba->=3:net/samba
|
|
LIB_DEPENDS+= DCOP,kdecore.6,kio,kdeui,kdefx,kdesu,kwalletclient::x11/kde/libs3
|
|
.endif
|
|
|
|
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=DESTDIR=${WRKINST} sysconfdir=${SAMPLECONFDIR}
|
|
|
|
#CONFIGURE_ARGS+=--without-motif
|
|
#CONFIGURE_ARGS+=--without-samba
|
|
|
|
.include <bsd.port.mk>
|