From owner-freebsd-doc Thu Mar 28 12:13: 3 2002 Delivered-To: freebsd-doc@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 6CB6F37B41B; Thu, 28 Mar 2002 12:12:43 -0800 (PST) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020328201242.IMED1147.rwcrmhc52.attbi.com@bmah.dyndns.org>; Thu, 28 Mar 2002 20:12:42 +0000 Received: from intruder.bmah.org (localhost [IPv6:::1]) by bmah.dyndns.org (8.12.2/8.12.2) with ESMTP id g2SKCgd8038298; Thu, 28 Mar 2002 12:12:42 -0800 (PST) (envelope-from bmah@intruder.bmah.org) Received: (from bmah@localhost) by intruder.bmah.org (8.12.2/8.12.2/Submit) id g2SKCgBC038297; Thu, 28 Mar 2002 12:12:42 -0800 (PST) Message-Id: <200203282012.g2SKCgBC038297@intruder.bmah.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Nik Clayton Cc: doc@FreeBSD.ORG Subject: Re: Teaching ports/textproc/docproj/Makefile about FORMATS In-reply-to: <20020319223326.C5971@canyon.nothing-going-on.org> References: <20020319223326.C5971@canyon.nothing-going-on.org> Comments: In-reply-to Nik Clayton message dated "Tue, 19 Mar 2002 22:33:26 +0000." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 Mar 2002 12:12:42 -0800 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org If memory serves me right, Nik Clayton wrote: > Here's a diff to teach textproc/docproj/Makefile about the FORMATS > variable. Very lightly tested. Feedback welcome. I *think* this is a good idea...I'm a little concerned about different "versions" of the docproj port being built, but hey, we already have $(JADETEX) and $(WITH_OPENJADE). :-p > -# This dependency list should be kept in sync with the list of > +# Support the FORMATS variable for deciding what to depend on. > +# > +# Default to supporting HTML and TXT outputs, which seems to be the=20 > +# default most people want > +FORMATS?=3D html txt > + > +# The complete dependency list should be kept in sync with the list of > # required ports in src/release/Makefile.inc.docports. Well, strictly you only need to keep in sync with the ports that are required, given the make options used by src/release/Makefile when it builds the docproj port. > +# The basic list of dependencies, before you even decide what output forma= > t(s) > +# you want to generate > +BASE_RUN_DEPENDS=3D\ > ${PREFIX}/share/sgml/docbook/dsssl/modular:${PORTSDIR}/textproc > /dsssl-do= > cbook-modular \ > - ${PREFIX}/share/sgml/html/catalog:${PORTSDIR}/textproc/html \ > - ${PREFIX}/share/sgml/linuxdoc:${PORTSDIR}/textproc/linuxdoc \ > ${PREFIX}/share/sgml/docbook/4.1/docbook.dtd:${PORTSDIR}/textpr > oc/docboo= > k-410 \ > ${PREFIX}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879 \ > - ${PREFIX}/share/xml/dtd/xhtml/xhtml.soc:${PORTSDIR}/textproc/xh > tml \ > + ${PREFIX}/bin/xsltproc:${PORTSDIR}/textproc/libxslt Why's libxslt in BASE_RUN_DEPENDS? I thought this was only used for the Web site build. (Well, at least for now.) > +PDB_RUN_DEPENDS=3D \ > + ${HTML_RUN_DEPENDS} \ > + ${PREFIX}/bin/iSiloBSD:${PORTSDIR}/palm/isilo Comment: I tried once to upgrade the isilo port to a more recent version, but this would have required some non-trivial FDP infrastructure changes, so I gave up. +# Turn off various options that some of the dependencies default to +# requiring, but that aren't needed for the doc build +.if !defined(WITHOUT_PYTHON) +WITHOUT_PYTHON= yes We really need this, but I couldn't make it work. Like when I did a "make install", make still wanted to build python as a dependency for libxml2 and libxslt. I don't know why. Bruce. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message