aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/docbook2X/Makefile
blob: e03a05e0d2e952f0877f02af4f0ec9be39883d4a (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
39
40
# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$

PORTNAME=   docbook2X
PORTVERSION=    0.8.8
PORTREVISION=   3
CATEGORIES= textproc
MASTER_SITES=   SF

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Convert DocBook documents into UNIX man page and GNU Texinfo formats

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  OpenSP>=0:${PORTSDIR}/textproc/opensp \
        dsssl-docbook-modular>=0:${PORTSDIR}/textproc/dsssl-docbook-modular \
        p5-XML-NamespaceSupport>=0:${PORTSDIR}/textproc/p5-XML-NamespaceSupport \
        p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
        p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX \
        p5-XML-SAX-Expat>=0:${PORTSDIR}/textproc/p5-XML-SAX-Expat \
        sdocbook-xml>=0:${PORTSDIR}/textproc/sdocbook-xml
RUN_DEPENDS:=   ${BUILD_DEPENDS}

CONFLICTS_INSTALL=  docbook-utils-*

OPTIONS_DEFINE= DOCS

CONFIGURE_ENV=  PERL=${PERL}
GNU_CONFIGURE=  yes
USE_GNOME=  libxslt
USES=       gmake iconv perl5
WANT_GNOME= yes

INFO=       docbook2X docbook2man-xslt docbook2texi-xslt

post-patch:
    @${REINPLACE_CMD} 's|$${prefix}|${PREFIX}|' ${WRKSRC}/configure

.include <bsd.port.mk>