2014-01-11 18:52:34 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2014/01/11 18:53:34 edd Exp $
|
2010-05-06 18:08:02 +00:00
|
|
|
|
|
|
|
COMMENT = convert DocBook to LaTeX, DVI, PostScript, and PDF
|
|
|
|
DISTNAME = dblatex-0.3
|
2014-01-11 18:52:34 +00:00
|
|
|
REVISION = 8
|
2010-05-06 18:08:02 +00:00
|
|
|
CATEGORIES = textproc
|
|
|
|
|
|
|
|
# GPLv2+
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
|
|
|
HOMEPAGE = http://dblatex.sourceforge.net
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=dblatex/}
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_DISTUTILS_INSTALL =install --prefix=${LOCALBASE} \
|
|
|
|
--root=${DESTDIR} \
|
|
|
|
--catalogs=${LOCALBASE}/share/xsl/docbook
|
|
|
|
|
2014-01-11 18:52:34 +00:00
|
|
|
RUN_DEPENDS = print/texlive/texmf,-full \
|
|
|
|
textproc/docbook-xsl \
|
|
|
|
graphics/ImageMagick
|
|
|
|
BUILD_DEPENDS = print/texlive/base \
|
2010-11-20 19:56:47 +00:00
|
|
|
textproc/docbook-xsl \
|
|
|
|
graphics/ImageMagick
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST = Yes
|
2010-05-06 18:08:02 +00:00
|
|
|
|
2010-05-10 22:04:59 +00:00
|
|
|
SUBST_VARS += LOCALBASE MODPY_BIN
|
2010-05-06 18:08:02 +00:00
|
|
|
|
|
|
|
post-extract:
|
2010-09-24 18:50:34 +00:00
|
|
|
@cd ${WRKSRC}/docs/manpage/ && gunzip dblatex.1.gz
|
2010-05-06 18:08:02 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@rm -r ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/contrib
|
2013-05-04 09:41:32 +00:00
|
|
|
${SUBST_CMD} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
|
|
-c ${FILESDIR}/dblatex ${PREFIX}/bin/dblatex
|
2010-05-06 18:08:02 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|