summaryrefslogtreecommitdiffstats
path: root/x11/kde3/Makefile
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2003-07-29 04:26:22 +0000
committerlofi <lofi@FreeBSD.org>2003-07-29 04:26:22 +0000
commit479d487f0145cf1c6b055c0575361c5350c135ac (patch)
treecd6b53895ab84f4324ba042d08f921529be4ca55 /x11/kde3/Makefile
parent1e8eb5e8be1b2d96efca243817309906398909d6 (diff)
downloadFreeBSD-ports-479d487f0145cf1c6b055c0575361c5350c135ac.zip
FreeBSD-ports-479d487f0145cf1c6b055c0575361c5350c135ac.tar.gz
Update KDE to the latest official release, KDE 3.1.3
Official KDE 3.1.3 announcement: http://www.kde.org/announcements/announce-3.1.3.php (may not work until a few hours after this commit - we jumped the gun a little in order to have the update in place at the time the security notifications for KDE 3.1.2 will be released together with the announcement of KDE 3.1.3). Changelog from 3.1.2 to 3.1.3 release: http://www.kde.org/announcements/changelogs/changelog3_1_2to3_1_3.php Thanks and credits need to go to the whole KDE-FreeBSD team, as well as everyone on kde@freebsd.org for providing feedback, reporting bugs and just using the KDE ports. Approved by: will (real mentor asleep)
Diffstat (limited to 'x11/kde3/Makefile')
-rw-r--r--x11/kde3/Makefile152
1 files changed, 133 insertions, 19 deletions
diff --git a/x11/kde3/Makefile b/x11/kde3/Makefile
index 3e9ebb3..569c371 100644
--- a/x11/kde3/Makefile
+++ b/x11/kde3/Makefile
@@ -8,7 +8,6 @@
PORTNAME= kde
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= # empty
DISTFILES= # none
@@ -17,22 +16,132 @@ EXTRACT_ONLY= # empty
MAINTAINER= kde@FreeBSD.org
COMMENT= The "meta-port" for KDE
-.if !defined(MINIMAL_KDE)
-RUN_DEPENDS+= kjumpingcube:${PORTSDIR}/games/kdegames3 \
- kdessh:${PORTSDIR}/misc/kdeutils3 \
- kword:${PORTSDIR}/editors/koffice-kde3 \
- kppp:${PORTSDIR}/net/kdenetwork3 \
- kview:${PORTSDIR}/graphics/kdegraphics3 \
- kmix:${PORTSDIR}/multimedia/kdemultimedia3 \
- korganizer:${PORTSDIR}/deskutils/kdepim3 \
- cervisia:${PORTSDIR}/devel/kdesdk3 \
- kdevelop:${PORTSDIR}/devel/kdevelop \
- atlantikdesigner:${PORTSDIR}/misc/kdeaddons3 \
- khangman:${PORTSDIR}/misc/kdeedu3 \
- kcron:${PORTSDIR}/sysutils/kdeadmin3 \
- quanta:${PORTSDIR}/www/quanta \
- kmoon:${PORTSDIR}/x11-clocks/kdetoys3 \
- kmatrix.kss:${PORTSDIR}/x11-wm/kdeartwork3
+## This is the file where the selections made in the interactive dialog
+## are saved in and initialized from.
+
+CONFIG_FILE= ${LOCALBASE}/etc/kde-meta.conf
+
+## The list of all modules that make up KDE, excluding the base modules
+## arts, kdebase and kdelibs
+
+ALL_MODULES= KDEADDONS KDEADMIN KDEARTWORK KDEVELOP KDEEDU KDEGAMES \
+ KDEGRAPHICS KDEMULTIMEDIA KDENETWORK KOFFICE KDEPIM KDESDK \
+ KDETOYS KDEUTILS QUANTA
+
+## Forwards parts of the environment to scripts/configure.kde3
+
+SCRIPTS_ENV+= ALL_MODULES="${ALL_MODULES}" \
+ BATCH="${BATCH}" \
+ CAT="${CAT}" \
+ CONFIG_FILE="${CONFIG_FILE}" \
+ CURDIR="${CURDIR}" \
+ ECHO="${ECHO}" \
+ ECHO_MSG="${ECHO_MSG}" \
+ GREP="${GREP}" \
+ MKDIR="${MKDIR}" \
+ PKG_DELETE="${PKG_DELETE}" \
+ PKG_INFO="${PKG_INFO}" \
+ REINPLACE_CMD="${REINPLACE_CMD}" \
+ SED="${SED}" \
+ TOUCH="${TOUCH}" \
+ TR="${TR}" \
+ WRKDIRPREFIX="${WRKDIRPREFIX}"
+
+## If MINIMAL_KDE is defined, define WITHOUT_FOO for every
+## module there is.
+
+.if defined(MINIMAL_KDE)
+.for module in ${ALL_MODULES}
+WITHOUT_${module}=yes
+.endfor
+.endif
+
+## If the user has some WITHOUT_FOO stuff set that matters to us,
+## define BATCH so interactive configuration will be skipped.
+
+.for module in ${ALL_MODULES}
+.if defined(WITHOUT_${module})
+BATCH= yes
+.endif
+.endfor
+
+## If the user (or the packagecluster) defines batchprocessing, skip
+## the interactive configuration. Otherwise declare this port properly
+## as interactive, launch the selector script cand include the configuration
+## file that's being returned by it (Makefile.inc). Remove the file on make
+## clean.
+
+.if !defined(BATCH) && !defined(PACKAGE_BUILDING) && !defined(MINIMAL_KDE)
+IS_INTERACTIVE= yes
+PLIST_SUB+= IS_INTERACTIVE=""
+.else
+PLIST_SUB+= IS_INTERACTIVE="@comment "
+.endif
+
+.if !defined(BATCH)
+pre-fetch:
+ @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
+ @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.kde3
+
+post-configure:
+ @/usr/bin/clear
+ @${CAT} ${FILESDIR}/post-configure-message
+
+post-clean:
+ @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
+
+.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
+.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
+.endif
+
+.endif # !defined(BATCH)
+
+## Allow to turn off every optional bit of KDE.
+
+.if !defined(WITHOUT_KDEGAMES)
+RUN_DEPENDS+= kjumpingcube:${PORTSDIR}/games/kdegames3
+.endif
+.if !defined(WITHOUT_KDEUTILS)
+RUN_DEPENDS+= kdessh:${PORTSDIR}/misc/kdeutils3
+.endif
+.if !defined(WITHOUT_KOFFICE)
+RUN_DEPENDS+= kword:${PORTSDIR}/editors/koffice-kde3
+.endif
+.if !defined(WITHOUT_KDENETWORK)
+RUN_DEPENDS+= kppp:${PORTSDIR}/net/kdenetwork3
+.endif
+.if !defined(WITHOUT_KDEGRAPHICS)
+RUN_DEPENDS+= kview:${PORTSDIR}/graphics/kdegraphics3
+.endif
+.if !defined(WITHOUT_KDEMULTIMEDIA)
+RUN_DEPENDS+= kmix:${PORTSDIR}/multimedia/kdemultimedia3
+.endif
+.if !defined(WITHOUT_KDEPIM)
+RUN_DEPENDS+= korganizer:${PORTSDIR}/deskutils/kdepim3
+.endif
+.if !defined(WITHOUT_KDESDK)
+RUN_DEPENDS+= cervisia:${PORTSDIR}/devel/kdesdk3
+.endif
+.if !defined(WITHOUT_KDEVELOP)
+RUN_DEPENDS+= kdevelop:${PORTSDIR}/devel/kdevelop
+.endif
+.if !defined(WITHOUT_KDEADDONS)
+RUN_DEPENDS+= atlantikdesigner:${PORTSDIR}/misc/kdeaddons3
+.endif
+.if !defined(WITHOUT_KDEEDU)
+RUN_DEPENDS+= khangman:${PORTSDIR}/misc/kdeedu3
+.endif
+.if !defined(WITHOUT_KDEADMIN)
+RUN_DEPENDS+= kcron:${PORTSDIR}/sysutils/kdeadmin3
+.endif
+.if !defined(WITHOUT_QUANTA)
+RUN_DEPENDS+= quanta:${PORTSDIR}/www/quanta
+.endif
+.if !defined(WITHOUT_KDETOYS)
+RUN_DEPENDS+= kmoon:${PORTSDIR}/x11-clocks/kdetoys3
+.endif
+.if !defined(WITHOUT_KDEARTWORK)
+RUN_DEPENDS+= kmatrix.kss:${PORTSDIR}/x11-wm/kdeartwork3
.endif
.if make(package)
@@ -45,7 +154,12 @@ USE_KDEBASE_VER=3
NO_BUILD= yes
-do-install: # empty
- ${DO_NADA}
+## Copy Makefile.inc to ${OPTION_FILE} where it will serve as memory of the
+## user's last selection.
+
+do-install:
+.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
+ @${INSTALL_DATA} ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc ${CONFIG_FILE}
+.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud