2006-06-03 08:47:30 -04:00
|
|
|
# $OpenBSD: Makefile.inc,v 1.36 2006/06/03 12:47:30 espie Exp $
|
2002-04-10 04:45:45 -04:00
|
|
|
DIST_SUBDIR?= kde
|
2002-04-09 21:24:38 -04:00
|
|
|
HOMEPAGE?= http://www.kde.org
|
2004-02-01 17:59:49 -05:00
|
|
|
.if defined(VERSION) && ${VERSION} == "3.1.95"
|
|
|
|
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@unstable/${VERSION}/src/@}
|
2004-02-07 05:59:43 -05:00
|
|
|
.elif defined(VERSION) && ${VERSION} == "3.2.0"
|
|
|
|
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/3.2/src/@}
|
2004-09-18 05:30:06 -04:00
|
|
|
.elif defined(VERSION) && ${VERSION} == "3.3.0"
|
|
|
|
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/3.3/src/@}
|
2005-03-29 16:18:34 -05:00
|
|
|
.elif defined(VERSION) && ${VERSION} == "3.4.0"
|
|
|
|
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/3.4/src/@}
|
2005-11-29 10:40:47 -05:00
|
|
|
.elif defined(VERSION) && ${VERSION} == "3.5.0"
|
|
|
|
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/3.5/src/@}
|
2004-02-01 17:59:49 -05:00
|
|
|
.else
|
2002-05-15 14:17:59 -04:00
|
|
|
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/${VERSION}/src/@}
|
2004-02-01 17:59:49 -05:00
|
|
|
.endif
|
2002-04-09 21:24:38 -04:00
|
|
|
EXTRACT_SUFX?= .tar.bz2
|
2005-01-26 05:56:11 -05:00
|
|
|
MASTER_SITES0= ${MASTER_SITE_KDE:=security_patches/}
|
2002-04-09 21:24:38 -04:00
|
|
|
|
|
|
|
# Parts of kde want shared libraries to work, as some symbols are
|
|
|
|
# duplicated over the place.
|
|
|
|
NOT_FOR_ARCHS?= ${NO_SHARED_ARCHS}
|
2004-09-18 05:30:06 -04:00
|
|
|
SHARED_ONLY=Yes
|
2003-02-16 09:31:19 -05:00
|
|
|
MODKDE_VERSION?= 3.1
|
2004-08-03 07:37:52 -04:00
|
|
|
MODULES?= x11/kde
|
2002-04-09 21:24:38 -04:00
|
|
|
|
2003-02-08 07:56:23 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS?= ${MODKDE_CONFIG_GUESS_DIRS}
|
2002-04-09 21:24:38 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE?= autoconf
|
2006-06-03 08:47:30 -04:00
|
|
|
.if defined(MODKDE_VERSION) && (${MODKDE_VERSION} == "3.2.3" || ${MODKDE_VERSION} == "3.3.0" || ${MODKDE_VERSION} == "3.4" || ${MODKDE_VERSION} == "3.5" || ${MODKDE_VERSION} == "3.5.2" || ${MODKDE_VERSION} == "3.5.3")
|
2004-07-24 08:47:13 -04:00
|
|
|
AUTOCONF_VERSION?= 2.59
|
|
|
|
.endif
|
2003-06-12 15:16:15 -04:00
|
|
|
AUTOCONF_VERSION?= 2.57
|
2003-02-08 07:56:23 -05:00
|
|
|
CONFIGURE_ARGS+= ${MODKDE_CONFIGURE_ARGS}
|
2002-04-09 21:24:38 -04:00
|
|
|
USE_GMAKE?= Yes
|
|
|
|
|
|
|
|
PORTHOME?=${WRKDIR}
|
|
|
|
|
2003-02-08 07:56:23 -05:00
|
|
|
CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV}
|
2002-04-09 21:24:38 -04:00
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
|
|
|
|
2003-02-08 07:56:23 -05:00
|
|
|
MAKE_FLAGS+= ${MODKDE_MAKE_FLAGS}
|
2002-04-09 21:24:38 -04:00
|
|
|
FAKE_FLAGS?= TAR=tar DESTDIR=${WRKINST}
|
|
|
|
# GPL
|
|
|
|
PERMIT_DISTFILES_CDROM?= Yes
|
|
|
|
PERMIT_DISTFILES_FTP?= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM?= Yes
|
|
|
|
PERMIT_PACKAGE_FTP?= Yes
|