aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/intltool/Makefile
blob: 81058b335e5ba19eb8aef3d9df39bd844a635bac (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
# New ports collection makefile for:    intltool
# Date created:             19th January 2001
# Whom:                 Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   intltool
PORTVERSION=    0.36.2
CATEGORIES= textproc gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Tools to internationalize various kinds of data files

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_ICONV=  yes
USE_PERL5=  yes
USE_GNOME=  gnometarget
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --libdir="${PREFIX}/libdata"

MAN8=       intltool-extract.8 intltool-merge.8 intltool-prepare.8 \
        intltool-update.8 intltoolize.8

CONFLICTS=  xml-i18n-tools-[0-9]*

post-patch:
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
        -E -e '/^mkinstalldirs[[:space:]]*=/s^/\.\.^^g'

post-install:
    ${MKDIR} ${PREFIX}/share/intltool/XML/Parser/Style
    ${INSTALL_DATA} ${FILESDIR}/OrigTree.pm \
            ${PREFIX}/share/intltool/XML/Parser/Style

.include <bsd.port.mk>