Commit Graph

28 Commits

Author SHA1 Message Date
jhay
7fd0635a3b Chase the ghostscript port changes. 2008-09-06 10:12:52 +00:00
ru
5eaedaad62 Fix doc.1 build when NOPORTS is defined. This includes
the following ports tree changes:

- libtool13 removed.
- pkgconfig moved to pkg-config.
- Default dependency for USE_GHOSTSCRIPT changed from
  ghostscript-gnu to ghostscript-gpl.
- Also added missing docproj dependencies.

Reported by:	Dmitriy Kirhlarov
Submitted by:	sem, ru
MFC after:	3 days
2007-04-11 15:24:58 +00:00
ru
83c13cce82 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
ru
6cfb5e6d67 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
6ac06af24b 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
de2b49b3bc 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
nyan
50d315a696 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
nyan
36365b7820 Add gettext-old to the MINIMALDOCPORTS variable. 2004-01-28 14:51:38 +00:00
nyan
7a00f44ce9 Fix MINIMALDOCPORTS lists. 2004-01-11 11:55:37 +00:00
jhay
be8a3feb48 Chase the doc ports. 2003-08-04 12:12:36 +00:00
kuriyama
8543e9caa0 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
a1831ac622 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
tmm
c04706a126 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
caab8ed778 Oops. scr2txt is in the textproc category.
Pointed out by: jhay
MFC After:	1 day
2002-10-30 09:20:50 +00:00
murray
a485ea1890 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
ru
586720da58 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
bmah
1ca394c8d3 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
bmah
b6b681a663 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
bmah
93cda9ffd0 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
jhay
b4a12c650a Add one more dependency, graphics/jbigkit. 2002-03-17 15:40:01 +00:00
bmah
cba6ae2d5c 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
0dc66a506a 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
bmah
40b4047eba 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
jhay
7098e065a8 Add a missing backslash. 2001-08-09 09:32:16 +00:00
nik
6b00d6a3eb Add libxslt and its dependencies.
Submitted by:	John Hay
2001-08-07 15:28:20 +00:00
dd
fb0d148d28 Note that this list should follow the docproj dependency list as much
as possible.
2001-07-24 08:47:00 +00:00
dd
d9a03f8456 eps2png -> peps
Submitted by:	Alexey V. Neyman <avn@any.ru>
2001-07-24 08:43:44 +00:00
joerg
32a17f0271 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