diff options
Diffstat (limited to 'textproc/intltool/Makefile')
-rw-r--r-- | textproc/intltool/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/textproc/intltool/Makefile b/textproc/intltool/Makefile new file mode 100644 index 000000000..1162a118d --- /dev/null +++ b/textproc/intltool/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: intltool +# Date created: 19th January 2001 +# Whom: Ade Lovett <ade@FreeBSD.org> +# +# $FreeBSD: ports/textproc/intltool/Makefile,v 1.39 2004/08/23 01:06:48 marcus Exp $ +# + +PORTNAME= intltool +PORTVERSION= 0.31.3 +CATEGORIES= textproc gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.31 +DIST_SUBDIR= gnome + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Xml internationalization support for GNOME, and others + +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 +USE_REINPLACE= yes +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-* + +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> |