diff options
author | lofi <lofi@FreeBSD.org> | 2004-08-11 09:27:37 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-08-11 09:27:37 +0800 |
commit | 864e9b668c7ed19626e92e91ce653b0426e8a652 (patch) | |
tree | 790eb38840233721a33b0ae2dcaaebb416020301 /x11/kde4-runtime/Makefile | |
parent | 73eb1b5f64621d1b69dbde88fc44e81f1bd5f32d (diff) | |
download | freebsd-ports-gnome-864e9b668c7ed19626e92e91ce653b0426e8a652.tar.gz freebsd-ports-gnome-864e9b668c7ed19626e92e91ce653b0426e8a652.tar.zst freebsd-ports-gnome-864e9b668c7ed19626e92e91ce653b0426e8a652.zip |
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.
Diffstat (limited to 'x11/kde4-runtime/Makefile')
-rw-r--r-- | x11/kde4-runtime/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/x11/kde4-runtime/Makefile b/x11/kde4-runtime/Makefile index db61c6ebeb34..7fa93289891c 100644 --- a/x11/kde4-runtime/Makefile +++ b/x11/kde4-runtime/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 <bsd.port.post.mk> |