aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gtk-doc/Makefile
blob: 82f54e4dac907271e89f2876f687eea6eb47e936 (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: fenner
# $FreeBSD$
#    $MCom: ports/trunk/textproc/gtk-doc/Makefile 19804 2014-08-13 14:55:11Z kwm $

PORTNAME=   gtk-doc
PORTVERSION=    1.21
CATEGORIES= textproc
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Code documentation system, originally for GTK+

BUILD_DEPENDS=  jade:${PORTSDIR}/textproc/jade \
        itstool:${PORTSDIR}/textproc/itstool \
        docbook-xml>0:${PORTSDIR}/textproc/docbook-xml \
        ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
        rarian-sk-config:${PORTSDIR}/textproc/rarian
RUN_DEPENDS=    jade:${PORTSDIR}/textproc/jade \
        docbook-xml>0:${PORTSDIR}/textproc/docbook-xml \
        ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
        rarian-sk-config:${PORTSDIR}/textproc/rarian

DOCBOOK_VERSION=    4.1.2

CATALOG_DIR=        ${PREFIX}/share/sgml/${PORTNAME}
XMLCATMGR=      ${LOCALBASE}/bin/xmlcatmgr
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports

USES=       gmake gettext-tools pathfix perl5 pkgconfig python tar:xz
USE_GNOME=  gnomeprefix libxslt
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports

PLIST_SUB=  XMLCATMGR=${XMLCATMGR} \
        CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} \
        CATALOG_DIR=${CATALOG_DIR}

.include <bsd.port.mk>