pkgsrc/textproc/dblatex/Makefile
wiz 62ec29b153 Initial import of dblatex-0.2.7:
Dblatex started as a DB2LaTeX clone, but since then many things
have changed and new features have been added or (hopefully)
improved. Now, the portion of shared code is small if any, and the
dblatex purpose is different from DB2LaTeX on these points:

* The project is end-user oriented, that is, it tries to hide as
much as possible the latex compiling stuff by providing a single
clean script to produce directly DVI, PostScript and PDF output.

* The actual output rendering is done not only by the XSL stylesheets
transformation, but also by a dedicated LaTeX package. The goal is
to allow a deep LaTeX customisation without changing the XSL
stylesheets.

* Post-processing is done by Python, to make publication faster,
convert the images if needed, and do the whole compilation.
2007-09-08 10:25:48 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2007/09/08 10:25:48 wiz Exp $
#
DISTNAME= dblatex-0.2.7
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dblatex/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://dblatex.sourceforge.net/
COMMENT= DocBook to LaTeX Publishing
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin
DEPENDS+= transfig-[0-9]*:../../print/transfig
DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
PYDISTUTILSPKG= yes
USE_LANGUAGES= # none
SUBST_CLASSES+= man
SUBST_MESSAGE.man= Fixing man page installation path.
SUBST_STAGE.man= pre-configure
SUBST_FILES.man= setup.py
SUBST_SED.man+= -e 's,share/man/man1,${PKGMANDIR}/man1,'
SUBST_SED.man+= -e "s,'python','${PYTHONBIN}',"
#SUBST_CLASSES+= path
#SUBST_MESSAGE.path= Fixing python path.
#SUBST_STAGE.path= pre-configure
#SUBST_FILES.path= scripts/dblatex
#SUBST_SED.path= -e 's,/usr/bin/env python,${PYTHONBIN},g'
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"