1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

In order to build many docs, including but not limited to gnome-related

things, the OPTIONS _FO, _HTML, _MANPAGES, and _XHTML are not really
optional. Documentation builds for various ports will fail due to
missing files. Remove these options, and update Makefile and plist
accordingly.

While I'm here sort the plist in the traditional way (optional elements
sorted in line with the non-optional ones, portdocs listed last) and
remove the MD5 from the distinfo file.

PR:		ports/151771
Submitted by:	dougb
Approved by:	maintainer timeout
This commit is contained in:
Doug Barton 2010-11-22 02:13:52 +00:00
parent 1510a4642e
commit 5718a1eea0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264898
3 changed files with 1393 additions and 1422 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= docbook-xsl
PORTVERSION= 1.75.2
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/docbook/${PORTNAME}/${PORTVERSION}:src \
SF/docbook/${PORTNAME}-doc/${PORTVERSION}:doc
@ -36,17 +37,14 @@ SUB_LIST+= INSTDIR="${INSTDIR}" \
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
MODULES= common images lib params
MODULES= common fo html images lib manpages params xhtml
OPTIONS= ECLIPSE "Eclipse modules" on \
EPUB "Epub modules" on \
EXTENSIONS "Extensions" on \
FO "XSL-FO modules" on \
HIGHLIGHTING "highlighting modules" on \
HTML "HTML modules" on \
HTMLHELP "HTML Help modules" on \
JAVAHELP "Java Help modules" on \
MANPAGES "Manpage modules" on \
PROFILING "Profiling modules" on \
ROUNDTRIP "Roundtrip modules" on \
SLIDES "Slides modules" on \
@ -54,7 +52,6 @@ OPTIONS= ECLIPSE "Eclipse modules" on \
TESTS "Test tools" on \
TOOLS "Tools" on \
WEBSITE "Website modules" on \
XHTML "XHTML modules" on \
XHTML11 "XHTML 1.1 modules" on
.include <bsd.port.pre.mk>
@ -77,24 +74,12 @@ MODULES+= extensions
.else
PLIST_SUB+= EXTENSIONS="@comment "
.endif
.if defined(WITH_FO)
PLIST_SUB+= FO=""
MODULES+= fo
.else
PLIST_SUB+= FO="@comment "
.endif
.if defined(WITH_HIGHLIGHTING)
PLIST_SUB+= HIGHLIGHTING=""
MODULES+= highlighting
.else
PLIST_SUB+= HIGHLIGHTING="@comment "
.endif
.if defined(WITH_HTML)
PLIST_SUB+= HTML=""
MODULES+= html
.else
PLIST_SUB+= HTML="@comment "
.endif
.if defined(WITH_HTMLHELP)
PLIST_SUB+= HTMLHELP=""
MODULES+= htmlhelp
@ -107,12 +92,6 @@ MODULES+= javahelp
.else
PLIST_SUB+= JAVAHELP="@comment "
.endif
.if defined(WITH_MANPAGES)
PLIST_SUB+= MANPAGES=""
MODULES+= manpages
.else
PLIST_SUB+= MANPAGES="@comment "
.endif
.if defined(WITH_PROFILING)
PLIST_SUB+= PROFILING=""
MODULES+= profiling
@ -155,12 +134,6 @@ MODULES+= website
.else
PLIST_SUB+= WEBSITE="@comment "
.endif
.if defined(WITH_XHTML)
PLIST_SUB+= XHTML=""
MODULES+= xhtml
.else
PLIST_SUB+= XHTML="@comment "
.endif
.if defined(WITH_XHTML11)
PLIST_SUB+= XHTML11=""
MODULES+= xhtml-1_1

View File

@ -1,6 +1,4 @@
MD5 (docbook-xsl-1.75.2.tar.bz2) = 0c76a58a8e6cb5ab49f819e79917308f
SHA256 (docbook-xsl-1.75.2.tar.bz2) = 0dcc3aebd2ada8719e47b77c62ab986c4f2747f9a7cab6f629b6472e6d058e09
SIZE (docbook-xsl-1.75.2.tar.bz2) = 1543130
MD5 (docbook-xsl-doc-1.75.2.tar.bz2) = 0a59c4c1796683fca32881c221df0b16
SHA256 (docbook-xsl-doc-1.75.2.tar.bz2) = e28ab23e61870204f7e693ee204c01fa802c06c8b5da45ae6b65450628f6a8f9
SIZE (docbook-xsl-doc-1.75.2.tar.bz2) = 1429554

File diff suppressed because it is too large Load Diff