[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / doc / guide

File: [cvs.NetBSD.org] / pkgsrc / doc / guide / Makefile.common (download)

Revision 1.3, Tue Aug 25 13:19:57 2009 UTC (11 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.2: +2 -1 lines

Add missing dvipsk dependency.

# $NetBSD: Makefile.common,v 1.3 2009/08/25 13:19:57 wiz Exp $
#
# This is included by doc/guide and meta-pkgs/pkgsrc-guide-tools.
#
# Because the outputs are configurable, this functions as a build-time
# dependency in doc/guide (customized to the desired output types),
# and a runtime dependency in meta-pkgs/pkgsrc-guide-tools (depending
# on all possible output tools).
#

_GUIDE_DEPTYPE?=	build
_GUIDE_OUTPUTS?=	lint html html-split ascii pdf

# html output
_GUIDE_DEPENDS+=	docbook>=4.0:../../textproc/docbook
_GUIDE_DEPENDS+=	docbook-xml>=4.0:../../textproc/docbook-xml
_GUIDE_DEPENDS+=	docbook-xsl>=1.62.4:../../textproc/docbook-xsl
_GUIDE_DEPENDS+=	dsssl-docbook-modular>=1.54:../../textproc/dsssl-docbook-modular
_GUIDE_DEPENDS+=	opensp>=1.5:../../textproc/opensp
_GUIDE_DEPENDS+=	libxslt>=1.0.30:../../textproc/libxslt

.if !empty(_GUIDE_OUTPUTS:Mhtml*)
_GUIDE_DEPENDS+=	tidy>=20021108:../../www/tidy
.endif

.if !empty(_GUIDE_OUTPUTS:Mascii)
_GUIDE_DEPENDS+=	w3m>=0.4:../../www/w3m
.endif

.if !empty(_GUIDE_OUTPUTS:Mps) || !empty(_GUIDE_OUTPUTS:Mpdf)
_GUIDE_DEPENDS+=	openjade>=1.3.2:../../textproc/openjade
_GUIDE_DEPENDS+=	dvipsk-[0-9]*:../../print/dvipsk
_GUIDE_DEPENDS+=	tex-jadetex>=3.13:../../print/tex-jadetex
GHOSTSCRIPT_REQD=	7.05
.  if ${_GUIDE_DEPTYPE} == "run"
USE_TOOLS+=		gs:run
.  else
USE_TOOLS+=		gs
.  endif
.endif

.if ${_GUIDE_DEPTYPE} == "run"
DEPENDS+=		${_GUIDE_DEPENDS}
.else
BUILD_DEPENDS+=		${_GUIDE_DEPENDS}
.endif