Commit Graph

26 Commits

Author SHA1 Message Date
Ruslan Ermilov
a562ac12a7 Tidy up the list of docproj dependencies. Here comes a long
explanation...

This makefile tries to be smart in determining the minimal list
of ports comprising the docproj meta-port, necessary to build
the FreeBSD documentation and release notes.

To get it absolutely right, it would have to generate the list
at run time, parsing the output of "make all-depends-list" for
ports/textproc/docproj, supplying the same options like in
src/release/Makefile, and trying for different platforms and
FreeBSD versions!

Besides from the complexity involved, this is just not possible
to do from here, because the ports tree may be not up-to-date or
not be available at all -- it's not required to have a checked
out ports tree to start "make release".  So makefile copies
some logic from the ports system to try to come up with the
right list...

Unfortunately, it's nearly impossible nor practical to come up
with a proper and complete list from here this way.  Such a
list would have to support all possible __FreeBSD_version's,
Perl versions, and so on, and their combinations -- everything
that the ports system would do.

The fix is to stop pretending be smart, and only provide
lists enough to build a docproj port on recent of 4.x, 5.x,
and 6.x systems, where this is practical.

What can break with this change is "make release -DNOPORTS" of
HEAD or RELENG_5, *without* -DNODOC, on older FreeBSD systems
like 5.1-RELEASE.  The change in the docproj dependency list
between 5.1 and 5.3 is as follows:

# diff docports.501000 docports.503000
< /usr/ports/devel/p5-File-Temp
< /usr/ports/devel/p5-Test-Harness
< /usr/ports/devel/p5-Test-Simple
< /usr/ports/lang/perl5
> /usr/ports/lang/perl5.8

Since doing "make release" on these old systems is not officially
supported anyway (only one tiny tweak is necessary to make it
work), the practical damage of this change is zero.

Original problem spotted by Scott Long doing "make release
-DNOPORTS RELEASETAG=RELENG_5".  That particular problem
was already fixed by the previous change to this file, while
this change is the result of some additional analyzis of the
problem.

Fix was tested by doing a "make release -DNOPORTS" of HEAD on
the 4.10-STABLE machine (with one small tweak I mentioned, to
make it possible).
2004-09-01 14:36:48 +00:00
Ruslan Ermilov
d91a18bc4c Added lang/perl5.8 to the doc/ ports list, it's the default Perl
version, and "make release -DNOPORTS" breaks without it.

Noticed by:	scottl

Keep lang/perl5 in the list because it's the default Perl version
for 4.x, and it's still possible to "make release" of HEAD on 4.x.
2004-08-30 06:19:34 +00:00
Murray Stokely
5a24695eba Add p5-File-Spec and p5-File-Temp.
Submitted by:	Dmitry Morozovsky <marck@rinet.ru>
PR:		ports/68153
MFC After:	3 days
2004-07-12 10:12:51 +00:00
Murray Stokely
1597606425 Chase the docproj ports required to build a release with NOPORTS but
without NODOCS.

PR:		ports/68153
Submitted by:	Dmitry Morozovsky <marck@rinet.ru>
2004-07-12 04:09:39 +00:00
Yoshihiro Takahashi
11e5ad6def Update the MINIMALDOCPORTS variable.
- Add ports/Tools to get some scripts.
  - Add missing dependency (print/ghostscript-gnu-nox11). [1]
  - Remove unused ports (devel/bison and textproc/mkcatalog). [1]

Submitted by:	jhay [1]
2004-01-30 14:10:24 +00:00
Yoshihiro Takahashi
3d449c8bf6 Add gettext-old to the MINIMALDOCPORTS variable. 2004-01-28 14:51:38 +00:00
Yoshihiro Takahashi
50adc4cac9 Fix MINIMALDOCPORTS lists. 2004-01-11 11:55:37 +00:00
John Hay
a67db5071d Chase the doc ports. 2003-08-04 12:12:36 +00:00
Jun Kuriyama
723a084b88 Add textproc/opensp into $MINIMALDOCPORTS when openjade is used.
Reported by:	scottl (by alpha building breakage)
Approved by:	re (scottl)
2003-05-25 03:41:41 +00:00
Murray Stokely
cd56a34687 Add some missing entries here. Sort an existing entry properly. This
allows "make release" to find all of the documentation related ports
it needs if you build a release with NOPORTS.  This should be moved to
within the port Makefile so we don't have to keep it updated in two
different places.

PR:		docs/51305
2003-04-26 07:31:43 +00:00
Thomas Moestl
4b8dd6b2d0 Add ports/lang/perl5 as a dependency of sgmlformat and openjade.
Use openjade on all non-i386 platforms (not just alpha).

Reviewed by:	-doc
2002-11-10 14:38:27 +00:00
Murray Stokely
ca6dbcff24 Oops. scr2txt is in the textproc category.
Pointed out by: jhay
MFC After:	1 day
2002-10-30 09:20:50 +00:00
Murray Stokely
8471b60389 Add scr2txt to the required list of doc ports for "make release". I
think this list of the bare minimal ports required should maybe be
moved to textproc/docproj/Makefile, so that when we add a new
dependency there, we can just add it to a required or optional list,
rather than add it there and forget about it here. ;)

Noticed by:	jhay
Forgotten by:	nik
2002-10-29 15:13:28 +00:00
Ruslan Ermilov
6bbd27aba0 Make building docs possible on systems where sed(1) can't do in-place editing.
Obtained from:	ports/Mk/bsd.port.mk
2002-07-26 11:22:46 +00:00
Bruce A. Mah
dd3636eea9 s/links/links1/
This should unbreak release builds with docs but without a full ports tree.

While I'm here, fix a minor sorting glitch.
2002-07-13 17:48:42 +00:00
Bruce A. Mah
59320fe0da Add devel/bison and textproc/xhtml ports to the set of ports required
for building docs with a release.
2002-05-17 23:59:53 +00:00
Bruce A. Mah
3b92e77d93 Check out the textproc/expat2 port for cases where we build docs
in a release without a full ports tree.
2002-05-17 19:01:21 +00:00
John Hay
69cf7927e6 Add one more dependency, graphics/jbigkit. 2002-03-17 15:40:01 +00:00
Bruce A. Mah
5312a8def5 ghostscript6 has been replaced by ghostscript-gnu in the Ports
Collection, so we need to change the ports we need for a release.
2001-09-24 20:15:04 +00:00
Wilko Bulte
785142bf17 Alpha uses openjade i.s.o. jade for docs generation. So go out
and build the right port for make release.

Submitted by:	bmah
Approved by:	bmah
MFC after:	2 days
2001-08-26 07:52:56 +00:00
Bruce A. Mah
71d57000e5 Make list of ports required for doc build consistent with
ports/textproc/docproj/Makefile rev. 1.33 (which adds graphics/scr2png).
2001-08-14 22:31:27 +00:00
John Hay
c8c7c06bb0 Add a missing backslash. 2001-08-09 09:32:16 +00:00
Nik Clayton
5de15c0508 Add libxslt and its dependencies.
Submitted by:	John Hay
2001-08-07 15:28:20 +00:00
Dima Dorfman
3126811f39 Note that this list should follow the docproj dependency list as much
as possible.
2001-07-24 08:47:00 +00:00
Dima Dorfman
c49e9faf43 eps2png -> peps
Submitted by:	Alexey V. Neyman <avn@any.ru>
2001-07-24 08:43:44 +00:00
Joerg Wunsch
dd1a1b3d6e Add infrastructure that allows to build docs and RELNOTESng without
the need to also create the entire ports tree during a `make release'.
The main motivation behind this is that handling the ports tree still
takes a huge amount of time due to the large number of directories
involved, even on modern disks.

The solution is to establish a list of dependent ports that are
minimally required.  This list needs to be manually maintained in case
the doc ports toolchain changes, and has thus been broken out into a
separate file Makefile.inc.docports.  (release/Makefile has gotten
overly lengthy already anyway.)

Discussed with:	bmah, nik
Reviewed by:	bmah
2001-05-04 19:50:34 +00:00