From owner-freebsd-ports Tue Feb 27 8:36:38 2001 Delivered-To: freebsd-ports@freebsd.org Received: from cal30b054.student.utwente.nl (cal30b054.student.utwente.nl [130.89.229.25]) by hub.freebsd.org (Postfix) with ESMTP id D5E0A37B718 for ; Tue, 27 Feb 2001 08:36:33 -0800 (PST) (envelope-from havoc@cal30b054.student.utwente.nl) Received: (from havoc@localhost) by cal30b054.student.utwente.nl (8.11.2/8.11.2) id f1RGaWZ20109 for ports@FreeBSD.org; Tue, 27 Feb 2001 17:36:33 +0100 (CET) (envelope-from havoc) Date: Tue, 27 Feb 2001 17:36:32 +0100 From: Theo van Klaveren To: ports@FreeBSD.org Subject: KDE help files Message-ID: <20010227173632.A85823@phoenix.student.utwente.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Is it possible for a switch to be added to the KDE-2.1 ports so they will install their help files? Attached diff should do the trick for building ksgmltools along with kdelibs2 (minus pkg-plist differences), but the problem is that all other kde modules will now build their docs causing their plists to be incorrect. Perhaps because of this some magic should be added to the Port Mk files. Patch is not tested, so be warned. The syntax probably sucks and I also don't know which version of docbook KDE depends on, since I've got all of them installed :) Please CC me as I am not subscribed to ports. -- Theo van Klaveren http://home.student.utwente.nl/t.vanklaveren --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=diff 19a20,28 > .if defined(WANT_KDE_DOCS) && !defined(NOPORTDOCS) > BUILD_DEPENDS+= ${LOCALBASE}/bin/jade:${PORTSDIR}/textproc/jade \ > ${LOCALBASE}/share/sgml/docbook/dsssl/modular/common/dbcommon.dsl:${PORTSDIR}/textproc/dsssl-docbook-modular \ > ${LOCALBASE}/share/sgml/docbook/3.1/docbook.dtd:${PORTSDIR}/textproc/docbook-310 > PLIST_SUB+= KDEDOC:="" > .else > PLIST_SUB+= KDEDOC:=@comment > .endif > 50a60,66 > @${ECHO} > .endif > .if !defined(WANT_KDE_DOCS) && !defined(NOPORTDOCS) > @${ECHO} > @${ECHO} "You can build this port with WANT_KDE_DOCS defined to" > @${ECHO} "compile ksgmltools. This will cause all kde-dependent" > @${ECHO} "ports to compile and install their help files." --OgqxwSJOaUobr8KG-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message