openbsd-ports/x11/kde/Makefile.inc

54 lines
1.5 KiB
PHP
Raw Normal View History

2002-05-15 14:17:59 -04:00
# $OpenBSD: Makefile.inc,v 1.5 2002/05/15 18:17:59 espie Exp $
NEED_VERSION+= 1.504
2002-04-10 04:45:45 -04:00
DIST_SUBDIR?= kde
HOMEPAGE?= http://www.kde.org
2002-05-15 14:17:59 -04:00
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}
.if ${VERSION:M2*}
MODULES?= qt2
PATCH_LIST?= ${PORTSDIR}/x11/kde/libs2/patches/p-* patch-*
KDE=lib/kde2
.elif ${VERSION:M3*}
MODULES?= qt3
PATCH_LIST?= ${PORTSDIR}/x11/kde/arts3/patches/p-* patch-*
KDE=lib/kde3
.endif
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
CONFIGURE_ARGS+= --disable-threading
CONFIGURE_ARGS+= --disable-mt
CONFIGURE_ARGS+= --with-xdmdir=/var/X11/kdm
CONFIGURE_ARGS+= --enable-mitshm
2002-05-15 14:17:59 -04:00
#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+= 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