2010-07-08 17:28:48 -04:00
|
|
|
# $OpenBSD: kde.port.mk,v 1.32 2010/07/08 21:28:48 espie Exp $
|
2004-05-10 06:12:29 -04:00
|
|
|
|
2010-07-06 18:52:07 -04:00
|
|
|
SHARED_ONLY ?= Yes
|
2004-05-10 06:12:29 -04:00
|
|
|
|
2010-07-06 18:52:07 -04:00
|
|
|
MODKDE_VERSION ?=
|
|
|
|
MODULES += x11/qt3
|
|
|
|
MODQT_OVERRIDE_UIC ?=No
|
2003-02-08 07:37:50 -05:00
|
|
|
|
2010-07-06 18:52:07 -04:00
|
|
|
MODKDE_NODEBUG ?=No
|
2003-02-28 10:08:21 -05:00
|
|
|
|
|
|
|
.if !${MODKDE_NODEBUG:L} == "yes"
|
2010-07-06 18:52:07 -04:00
|
|
|
FLAVORS += debug
|
2003-02-08 07:37:50 -05:00
|
|
|
.endif
|
2010-07-06 18:52:07 -04:00
|
|
|
FLAVOR ?=
|
2003-02-08 07:37:50 -05:00
|
|
|
|
2010-07-06 18:52:07 -04:00
|
|
|
MODKDE_CONFIGURE_ARGS =${MODQT_CONFIGURE_ARGS}
|
2010-07-08 17:28:48 -04:00
|
|
|
MODKDE_CONFIGURE_ARGS += --with-extra-libs="${LOCALBASE}/lib/kde3:${LOCALBASE}/lib/db4:${LOCALBASE}/lib/samba:${LOCALBASE}/lib"
|
2010-07-06 18:52:07 -04:00
|
|
|
MODKDE_CONFIGURE_ARGS += --with-extra-includes="${LOCALBASE}/include/db4:${LOCALBASE}/include/libpng:${LOCALBASE}/include"
|
|
|
|
MODKDE_CONFIGURE_ARGS += --with-xdmdir=/var/X11/kdm
|
|
|
|
MODKDE_CONFIGURE_ARGS += --enable-mitshm
|
|
|
|
MODKDE_CONFIGURE_ARGS += --with-xinerama
|
2003-02-08 07:37:50 -05:00
|
|
|
.if ${FLAVOR:L:Mdebug}
|
2010-07-06 18:52:07 -04:00
|
|
|
MODKDE_CONFIGURE_ARGS += --enable-debug=yes
|
2003-02-08 07:37:50 -05:00
|
|
|
.else
|
2010-07-06 18:52:07 -04:00
|
|
|
MODKDE_CONFIGURE_ARGS += --disable-debug
|
|
|
|
MODKDE_CONFIGURE_ARGS += --disable-dependency-tracking
|
2003-02-08 07:37:50 -05:00
|
|
|
.endif
|
2010-07-06 18:52:07 -04:00
|
|
|
MODKDE_CONFIGURE_ARGS += --enable-final
|
2003-02-08 07:37:50 -05:00
|
|
|
|
2010-07-06 18:52:07 -04:00
|
|
|
MODKDE_CONFIG_GUESS_DIRS = ${WRKSRC} ${WRKSRC}/admin
|
2003-02-08 07:37:50 -05:00
|
|
|
|
2010-07-06 18:52:07 -04:00
|
|
|
MODKDE_CONFIGURE_ENV = UIC_PATH="${MODQT_UIC}" UIC="${MODQT_UIC}"
|
|
|
|
MODKDE_CONFIGURE_ENV += RUN_KAPPFINDER=no KDEDIR=${LOCALBASE}
|
|
|
|
MODKDE_CONFIGURE_ENV += PTHREAD_LIBS=-pthread
|
|
|
|
MODKDE_MAKE_FLAGS = CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
|
|
|
|
MODKDE_MAKE_FLAGS += LIBRESOLV=
|
2003-02-08 07:37:50 -05:00
|
|
|
|
2010-07-06 18:52:07 -04:00
|
|
|
MODKDE_post-patch = find ${WRKDIST} -name Makefile.am -exec touch {}.in \;
|
2005-03-29 16:18:34 -05:00
|
|
|
|
2003-02-08 07:37:50 -05:00
|
|
|
KDE=lib/kde3
|
2010-07-06 18:52:07 -04:00
|
|
|
SUBST_VARS += KDE
|
2003-02-08 07:37:50 -05:00
|
|
|
|
2010-07-06 18:52:07 -04:00
|
|
|
SUP_PATCH_LIST ?=
|
2003-02-08 07:37:50 -05:00
|
|
|
.if ${MODKDE_VERSION} == "3.1"
|
2010-07-06 18:52:07 -04:00
|
|
|
PATCH_LIST = ${PORTSDIR}/x11/kde/patches-3.1/patch-* patch-* ${SUP_PATCH_LIST}
|
2004-02-01 09:55:03 -05:00
|
|
|
.elif ${MODKDE_VERSION} == "3.2"
|
2010-07-06 18:52:07 -04:00
|
|
|
PATCH_LIST = ${PORTSDIR}/x11/kde/patches-3.2/patch-* patch-* ${SUP_PATCH_LIST}
|
|
|
|
AUTOCONF ?= /bin/sh ${WRKDIST}/admin/cvs.sh configure
|
|
|
|
LIB_DEPENDS += lib/qt3/qt-mt.>=3.20::x11/qt3
|
2004-07-24 08:47:13 -04:00
|
|
|
.elif ${MODKDE_VERSION} == "3.2.3"
|
2010-07-06 18:52:07 -04:00
|
|
|
PATCH_LIST = ${PORTSDIR}/x11/kde/patches-3.2.3/patch-* patch-* ${SUP_PATCH_LIST}
|
|
|
|
AUTOCONF ?= /bin/sh ${WRKDIST}/admin/cvs.sh configure
|
|
|
|
LIB_DEPENDS += lib/qt3/qt-mt.>=3.20::x11/qt3
|
2004-09-18 05:30:06 -04:00
|
|
|
.elif ${MODKDE_VERSION} == "3.3.0"
|
2010-07-06 18:52:07 -04:00
|
|
|
PATCH_LIST = ${PORTSDIR}/x11/kde/patches-3.2.3/patch-* patch-* ${SUP_PATCH_LIST}
|
|
|
|
AUTOCONF ?= /bin/sh ${WRKDIST}/admin/cvs.sh configure
|
|
|
|
LIB_DEPENDS += lib/qt3/qt-mt.>=3.33::x11/qt3
|
2005-03-29 16:18:34 -05:00
|
|
|
.elif ${MODKDE_VERSION} == "3.4"
|
2010-07-06 18:52:07 -04:00
|
|
|
PATCH_LIST = ${PORTSDIR}/x11/kde/patches-3.4/patch-* patch-* ${SUP_PATCH_LIST}
|
|
|
|
AUTOCONF ?= /bin/sh ${WRKDIST}/admin/cvs.sh configure
|
|
|
|
LIB_DEPENDS += lib/qt3/qt-mt.>=3.33::x11/qt3
|
2005-09-18 08:21:07 -04:00
|
|
|
.elif ${MODKDE_VERSION} == "3.5"
|
2010-07-06 18:52:07 -04:00
|
|
|
PATCH_LIST = ${PORTSDIR}/x11/kde/patches-3.5/patch-* patch-* ${SUP_PATCH_LIST}
|
|
|
|
AUTOCONF ?= /bin/sh ${WRKDIST}/admin/cvs.sh configure
|
|
|
|
LIB_DEPENDS += lib/qt3/qt-mt.>=3.33::x11/qt3
|
2006-04-01 05:49:17 -05:00
|
|
|
.elif ${MODKDE_VERSION} == "3.5.2"
|
2010-07-06 18:52:07 -04:00
|
|
|
PATCH_LIST = ${PORTSDIR}/x11/kde/patches-3.5.2/patch-* patch-* ${SUP_PATCH_LIST}
|
|
|
|
AUTOCONF ?= /bin/sh ${WRKDIST}/admin/cvs.sh configure
|
|
|
|
LIB_DEPENDS += lib/qt3/qt-mt.>=3.33::x11/qt3
|
2006-06-03 08:47:30 -04:00
|
|
|
.elif ${MODKDE_VERSION} == "3.5.3"
|
2010-07-06 18:52:07 -04:00
|
|
|
PATCH_LIST = ${PORTSDIR}/x11/kde/patches-3.5.3/patch-* patch-* ${SUP_PATCH_LIST}
|
|
|
|
AUTOCONF ?= /bin/sh ${WRKDIST}/admin/cvs.sh configure
|
|
|
|
LIB_DEPENDS += lib/qt3/qt-mt.>=3.33::x11/qt3
|
2007-10-24 17:52:16 -04:00
|
|
|
.elif ${MODKDE_VERSION} == "3.5.7" || ${MODKDE_VERSION} == "3.5.8"
|
2010-07-06 18:52:07 -04:00
|
|
|
PATCH_LIST = ${PORTSDIR}/x11/kde/patches-3.5.7/patch-* patch-* ${SUP_PATCH_LIST}
|
|
|
|
AUTOCONF ?= /bin/sh ${WRKDIST}/admin/cvs.sh configure
|
|
|
|
LIB_DEPENDS += lib/qt3/qt-mt.>=3.33::x11/qt3
|
|
|
|
USE_LIBTOOL ?= Yes
|
|
|
|
USE_X11 = Yes
|
|
|
|
LIBTOOL_FLAGS = --tag=disable-static
|
2003-02-08 07:37:50 -05:00
|
|
|
.endif
|