aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gnome-doc-utils/Makefile
blob: 687316673aa9ceb40609b40baa6e11f3a5ebd16b (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
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/textproc/gnome-doc-utils/Makefile 19009 2014-03-02 22:41:42Z kwm $

PORTNAME=   gnome-doc-utils
PORTVERSION=    0.20.10
PORTREVISION=   4
CATEGORIES= textproc gnome
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME doc utils

BUILD_DEPENDS=  rarian-sk-config:${PORTSDIR}/textproc/rarian \
        ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2
RUN_DEPENDS=    rarian-sk-config:${PORTSDIR}/textproc/rarian \
        ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2 \
        docbook-xml>0:${PORTSDIR}/textproc/docbook-xml

USES=       gettext-tools:build,run gmake pathfix pkgconfig python:2 tar:xz
USE_GNOME=  libxslt intlhack
INSTALLS_OMF=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-omf-dir=${PREFIX}/share/omf
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-install:
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}/xml2po
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}/xml2po/modes

.include <bsd.port.mk>