blob: 5f6a0946004351c31b705255685fdf97cdf665f0 (
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
41
42
43
44
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= mate-doc-utils
PORTVERSION= 1.6.2
PORTREVISION= 2
CATEGORIES= textproc mate
MASTER_SITES= MATE
DIST_SUBDIR= mate
MAINTAINER= gnome@FreeBSD.org
COMMENT= MATE 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 \
${LOCALBASE}/share/xml/docbook/4.3:${PORTSDIR}/textproc/docbook-xml \
xml2po:${PORTSDIR}/textproc/gnome-doc-utils
PORTSCOUT= limitw:1,even
USES= gettext gmake pathfix pkgconfig tar:xz
USE_MATE= autogen common:build intlhack
USE_GNOME= gnomehier libxml2 libxslt
USE_PYTHON_BUILD= yes
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= aclocal:env autoconf:env automake:env
CONFIGURE_ARGS=--with-omf-dir=${PREFIX}/share/omf
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PATHFIX_MAKEFILEIN= Makefile.*
post-patch:
@${REINPLACE_CMD} -e 's|-W compat|--traditional|g' \
${WRKSRC}/configure.ac
@${CHMOD} +x ${WRKSRC}/autogen.sh
pre-install:
@${REINPLACE_CMD} -e 's|build_SUBDIRS = xml2po|build_SUBDIRS =|g ; \
s|po rng xslt|po xslt|g' \
${WRKSRC}/Makefile
.include <bsd.port.mk>
|