1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= intltool |
4 |
PORTVERSION= 0.51.0 |
5 |
PORTREVISION= 1 |
6 |
CATEGORIES= textproc gnome |
7 |
MASTER_SITES= https://launchpad.net/intltool/trunk/$(PORTVERSION)/+download/ |
8 |
DIST_SUBDIR= gnome |
9 |
|
10 |
MAINTAINER= ports@MidnightBSD.org |
11 |
COMMENT= Tools to internationalize various kinds of data files |
12 |
|
13 |
LICENSE= gpl2 |
14 |
|
15 |
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser |
16 |
RUN_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser |
17 |
|
18 |
USES= gmake iconv |
19 |
USE_PERL5= yes |
20 |
GNU_CONFIGURE= yes |
21 |
CONFIGURE_ARGS= --libdir="${PREFIX}/libdata" |
22 |
|
23 |
CONFLICTS= xml-i18n-tools-[0-9]* |
24 |
|
25 |
post-patch: |
26 |
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \ |
27 |
-E -e '/^mkinstalldirs[[:space:]]*=/s^/\.\.^^g' |
28 |
|
29 |
post-install: |
30 |
@${MKDIR} ${PREFIX}/share/intltool/XML/Parser/Style |
31 |
@${INSTALL_DATA} ${FILESDIR}/OrigTree.pm \ |
32 |
${PREFIX}/share/intltool/XML/Parser/Style |
33 |
|
34 |
.include <bsd.port.mk> |