From 461f3c5adb635525af6de102321df3e6288bfb1c Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Wed, 11 Aug 2004 01:27:37 +0000 Subject: Factor out all but one of the build switches of the KDE main module ports into separate ports. The OPTIONS will remain as of yet and trigger dependencies now, for easy transition. Update KOffice to version 1.3.2. Add patches to fix a number of issues, including: - fix kxkb on Xorg - fix kdemultimedia WITH_MPEGLIB (now mpeglib_artsplug) compilation on gcc 3.4.2 with optimizations greater than -O Add security related patches and entries to portaudit.txt. --- x11/kdebase3/Makefile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'x11/kdebase3/Makefile') diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile index db61c6ebeb34..7fa93289891c 100644 --- a/x11/kdebase3/Makefile +++ b/x11/kdebase3/Makefile @@ -8,6 +8,7 @@ PORTNAME= kdebase PORTVERSION= ${KDE_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src @@ -21,7 +22,6 @@ LIB_DEPENDS= smbclient:${PORTSDIR}/net/samba-libsmbclient USE_KDELIBS_VER=3 PREFIX= ${KDE_PREFIX} -KDE_BUILD_PLIST=yes USE_OPENLDAP= yes USE_BZIP2= yes @@ -29,6 +29,7 @@ USE_GMAKE= yes USE_XPM= yes USE_REINPLACE= yes PKGMESSAGE= ${WRKDIR}/MESSAGE +PKGINSTALL= ${WRKDIR}/INSTALL GNU_CONFIGURE= yes INSTALLS_SHLIB= yes @@ -50,8 +51,7 @@ RUN_DEPENDS+= artswrapper:${PORTSDIR}/audio/artswrapper .endif .if !defined(WITHOUT_MOTIF) -USE_MOTIF= yes -PLIST_APPEND+= plist.motif +RUN_DEPENDS= nspluginviewer:${PORTSDIR}/www/konqueror-nsplugins .elseif defined(WITHOUT_MOTIF) CONFIGURE_ARGS+= --without-motif .endif @@ -69,14 +69,20 @@ post-configure: post-build: @${CAT} ${PKGDIR}/pkg-message | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ | ${SED} -e 's,%%X11BASE%%,${X11BASE},g' > ${PKGMESSAGE} + @${CAT} ${PKGDIR}/pkg-install | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ + | ${SED} -e 's,%%X11BASE%%,${X11BASE},g' > ${PKGINSTALL} + @${CAT} ${FILESDIR}/kdm.sh | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ + | ${SED} -e 's,%%X11BASE%%,${X11BASE},g' > ${WRKDIR}/kdm.sh post-install: - ${LOCALBASE}/bin/genkdmconf --no-old --in ${PREFIX}/share/config/kdm/default - ${LOCALBASE}/bin/genkdmconf --no-backup --no-old-scripts --in ${PREFIX}/share/config/kdm ${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop ${CHMOD} u+s ${PREFIX}/bin/kcheckpass ${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \ ${CHMOD} g+s ${PREFIX}/bin/ksysguardd - ${CAT} ${PKGMESSAGE} + ${INSTALL_SCRIPT} ${WRKDIR}/kdm.sh ${PREFIX}/etc/rc.d +.if !defined(PACKAGE_BUILDING) + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif + @${CAT} ${PKGMESSAGE} .include -- cgit v1.2.3