2010-11-28 13:19:50 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2010/11/28 18:19:50 kili Exp $
|
2010-05-06 14:08:02 -04:00
|
|
|
|
|
|
|
COMMENT = convert DocBook to LaTeX, DVI, PostScript, and PDF
|
|
|
|
DISTNAME = dblatex-0.3
|
2010-11-28 13:19:50 -05:00
|
|
|
REVISION= 3
|
2010-05-06 14:08:02 -04:00
|
|
|
CATEGORIES = textproc
|
|
|
|
|
|
|
|
# GPLv2+
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = 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
|
|
|
|
|
2010-11-20 14:56:47 -05:00
|
|
|
RUN_DEPENDS = print/texlive/base \
|
|
|
|
print/texlive/texmf,-full \
|
|
|
|
print/texlive/texmf,-main \
|
|
|
|
textproc/libxslt \
|
|
|
|
textproc/docbook-xsl \
|
|
|
|
graphics/ImageMagick
|
2010-05-06 14:08:02 -04:00
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
2010-11-20 14:56:47 -05:00
|
|
|
USE_GROFF = Yes
|
2010-05-06 14:08:02 -04:00
|
|
|
NO_REGRESS = Yes
|
|
|
|
|
2010-05-10 18:04:59 -04:00
|
|
|
SUBST_VARS += LOCALBASE MODPY_BIN
|
2010-05-06 14:08:02 -04:00
|
|
|
|
|
|
|
post-extract:
|
2010-09-24 14:50:34 -04:00
|
|
|
@cd ${WRKSRC}/docs/manpage/ && gunzip dblatex.1.gz
|
2010-05-06 14:08:02 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@rm -r ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/contrib
|
|
|
|
${SUBST_CMD} -c ${FILESDIR}/dblatex ${WRKSRC}/scripts/dblatex
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/dblatex ${PREFIX}/bin/dblatex
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|