openbsd-ports/x11/kde/Makefile.inc
2002-12-29 17:47:01 +00:00

50 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile.inc,v 1.12 2002/12/29 17:47:01 espie Exp $
DIST_SUBDIR?= kde
HOMEPAGE?= http://www.kde.org
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@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?= gcc3 qt3
MODGCC3_ARCHES?=sparc64
MODGCC3_LANGS?= c++
PATCH_LIST?= ${PORTSDIR}/x11/kde/arts3/patches/p-* patch-*
KDE=lib/kde3
MODGNU_CONFIG_GUESS_DIRS?= ${WRKSRC} ${WRKSRC}/admin
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/libpng:${LOCALBASE}/include"
CONFIGURE_ARGS+= --disable-threading
CONFIGURE_ARGS+= --disable-mt
CONFIGURE_ARGS+= --with-xdmdir=/var/X11/kdm
CONFIGURE_ARGS+= --enable-mitshm
#CONFIGURE_ARGS+= --enable-debug
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --enable-final
.if !${CONFIGURE_ARGS:M--with-motif}
CONFIGURE_ARGS+= --without-motif
.endif
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
USE_GMAKE?= Yes
PORTHOME?=${WRKDIR}
CONFIGURE_ENV+= UIC_PATH="${LOCALBASE}/bin/uic3 -L ${LOCALBASE}/${KDE}/plugins"
CONFIGURE_ENV+= RUN_KAPPFINDER=no KDEDIR=${LOCALBASE}
MAKE_ENV= ${CONFIGURE_ENV}
SUBST_VARS+= KDE
MAKE_FLAGS+=CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
FAKE_FLAGS?= TAR=tar DESTDIR=${WRKINST}
# GPL
PERMIT_DISTFILES_CDROM?= Yes
PERMIT_DISTFILES_FTP?= Yes
PERMIT_PACKAGE_CDROM?= Yes
PERMIT_PACKAGE_FTP?= Yes