blob: 1f1c63556706b2031039dc89e6ac759fdc05aabd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Peter Johnson <johnson.peter@gmail.com>
# $FreeBSD$
PORTNAME= dblatex
PORTVERSION= 0.3.2
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= johnson.peter@gmail.com
COMMENT= DocBook to LaTeX/ConTeXt Publishing
BUILD_DEPENDS= ${LOCALBASE}/share/texmf-local/tex/latex/ifxetex/ifxetex.sty:${PORTSDIR}/print/ifxetex
RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
${LOCALBASE}/share/xml/docbook/4.2/docbook.cat:${PORTSDIR}/textproc/docbook-xml
USE_BZIP2= yes
USE_TEX= tex
USE_PYTHON= 2.5+
USE_PYDISTUTILS=yes
PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} \
--catalogs=${PREFIX}/share/xml/catalog.ports
PYDISTUTILS_NOEGGINFO= yes
PLIST_SUB+= PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
MAN1= dblatex.1
MANCOMPRESSED= yes
NO_STAGE= yes
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/pdfdocs),/d' ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e '/htmldoc)/d' ${WRKSRC}/setup.py
.endif
@${REINPLACE_CMD} -e "s,share/man/man1,man/man1,g" ${WRKSRC}/setup.py
.include <bsd.port.mk>
|