mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: intltool
|
|
# Date created: 19th January 2001
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= intltool
|
|
PORTVERSION= 0.35.5
|
|
CATEGORIES= textproc gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.35
|
|
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" --mandir="${PREFIX}/man"
|
|
|
|
MAN8= intltool-extract.8 intltool-merge.8 intltool-prepare.8 \
|
|
intltool-update.8 intltoolize.8
|
|
|
|
CONFLICTS= xml-i18n-tools-[0-9]*
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
IGNORE= requires Perl 5.6 or higher
|
|
.endif
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
|
|
-E -e '/^mkinstalldirs[[:space:]]*=/s^/\.\.^^g'
|
|
|
|
.include <bsd.port.post.mk>
|