openbsd-ports/x11/kde/network2/Makefile
2001-12-31 15:05:09 +00:00

68 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.4 2001/12/31 15:05:09 espie Exp $
COMMENT= "X11 toolkit, network applications"
CATEGORIES= x11 x11/kde
NEED_VERSION= 1.504
VERSION= 2.2.2
DISTNAME= kdenetwork-${VERSION}
DIST_SUBDIR= kde
HOMEPAGE= http://www.kde.org
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${VERSION}/src/
EXTRACT_SUFX= .tar.bz2
# Parts of kde want shared libraries to work, as some symbols are
# duplicated over the place.
NOT_FOR_ARCHS=${NO_SHARED_ARCHS}
MODULES=qt2
LIB_DEPENDS= kdecore.3,kdeui::x11/kde/libs2
BUILD_DEPENDS= ::x11/qt2-designer :zsh-*:shells/zsh/stable
# for kaddressbook
RUN_DEPENDS+= ::x11/kde/base2
CONFIGURE_STYLE= autoconf
AUTOCONF_NEW= Yes
CONFIGURE_ARGS= ${MODQT_CONFIGURE_ARGS}
CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --enable-final
#CONFIGURE_ARGS+= --enable-debug
#CONFIGURE_ARGS+= --without-motif
#CONFIGURE_ARGS+=--enable-static --enable-debug --disable-shared
PATCH_LIST=${PORTSDIR}/x11/kde/libs2/patches/p-* patch-*
# Not yet, too much time to compile
#CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
USE_GMAKE= Yes
CONFIGURE_ENV= RUN_KAPPFINDER=no KDEDIR=${LOCALBASE}
MAKE_ENV= ${CONFIGURE_ENV}
pre-build:
# Let zsh act as an sh replacement
ln -sf $(LOCALBASE)/bin/zsh ${WRKBUILD}/sh
# Ensure qt2 will always be at the front
MAKE_FLAGS=CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
MAKE_FLAGS+=LIBTOOL='$(WRKBUILD)/sh $(WRKBUILD)/libtool'
# GPL
# Note that lame is not a problem, since kdebase is packaged with a
# stub lame library which does nothing, and can be overriden with a
# live one later.
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MTREE_FILE=${PORTSDIR}/x11/kde/libs2/files/mtree
.include <bsd.port.mk>