freebsd-dev/release/Makefile.inc.docports

86 lines
2.1 KiB
Makefile
Raw Normal View History

# $FreeBSD$
#
# List of (dependent) ports that are minimally required to be
# checked out from CVS in order to get ${DOCPORTS} built and
# installed. It should follow the dependency list in
# ports/textproc/docproj/Makefile as much as feasible.
#
# Note that these names are /not/ CVS module names but path
# names, so the required part of the ports infrastructure will
# be cvs co'ed accordingly.
#
# This list of ports should be checked with the output of :
# make all-depends-list | sed -e 's|^/usr/||' | sed -e 's|$| \\|'
#
# Get __FreeBSD_version
.if !defined(OSVERSION)
OSVERSION!= /sbin/sysctl -n kern.osreldate
.endif
MINIMALDOCPORTS= \
ports/Mk \
2003-08-04 12:12:36 +00:00
ports/Templates \
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
ports/Tools
MINIMALDOCPORTS+= \
ports/archivers/unzip \
2001-08-09 09:32:16 +00:00
ports/converters/libiconv \
ports/devel/gettext \
ports/devel/gmake \
ports/devel/libtool15 \
ports/devel/pkg-config \
2004-01-11 11:55:37 +00:00
ports/graphics/gd \
ports/graphics/jbigkit \
ports/graphics/jpeg \
ports/graphics/netpbm \
ports/graphics/png \
ports/graphics/scr2png \
ports/graphics/tiff \
ports/print/freetype2 \
2008-09-06 10:12:52 +00:00
ports/print/ghostscript8 \
ports/print/ghostscript8-nox11 \
ports/print/gsfonts \
ports/textproc/docbook-410 \
ports/textproc/docbook-xml \
ports/textproc/docbook-xsl \
ports/textproc/docproj \
ports/textproc/dsssl-docbook-modular \
ports/textproc/expat2 \
ports/textproc/fixrtf \
ports/textproc/html \
ports/textproc/html2text \
ports/textproc/iso8879 \
ports/textproc/libxml2 \
ports/textproc/libxslt \
ports/textproc/linuxdoc \
ports/textproc/scr2txt \
ports/textproc/sdocbook-xml \
ports/textproc/xhtml \
2003-08-04 12:12:36 +00:00
ports/textproc/xmlcatmgr \
ports/textproc/xmlcharent \
ports/www/links1 \
ports/www/tidy
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
.if ${MACHINE_ARCH} != "i386"
MINIMALDOCPORTS+= ports/textproc/openjade \
ports/textproc/opensp
.else
MINIMALDOCPORTS+= ports/textproc/jade
.endif
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
.if ${OSVERSION} < 500000
MINIMALDOCPORTS+= \
ports/converters/p5-MIME-Base64 \
ports/devel/p5-File-Spec \
ports/devel/p5-File-Temp \
ports/devel/p5-Test-Harness \
ports/devel/p5-Test-Simple \
ports/security/p5-Digest \
ports/security/p5-Digest-MD5 \
ports/textproc/p5-PodParser
.else
MINIMALDOCPORTS+= \
ports/lang/perl5.8
.endif