aboutsummaryrefslogtreecommitdiff
path: root/textproc/intltool/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2015-04-03 15:55:53 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2015-04-03 15:55:53 +0000
commit86931959a74093c8901378ee1ae12f8bfe35374b (patch)
treee49f2bffc0a03a3fbd85750a6789676a11b03fa0 /textproc/intltool/Makefile
parent50455342fb59fb449d6ea861d9104b3fc7377407 (diff)
downloadports-86931959a74093c8901378ee1ae12f8bfe35374b.tar.gz
ports-86931959a74093c8901378ee1ae12f8bfe35374b.zip
Add two patches to textproc/intltool so it works better with USES=autoreconf
- Patch intltool.m4 so translations are always installed in PREFIX/share/locale instead of PREFIX/lib/locale (USE_GNOME=intlhack also does this for ports without USES=autoreconf) - Patch intltoolize.in so it creates the directory where it will copy intltool.m4 into if it doesn't exist yet Also remove old CONFIGURE_ARGS, CONFLICTS, post-patch and post-install from Makefile and remove an old patch. PR: 198123 Exp-run by: antoine Approved by: gnome (kwm), portmgr (antoine)
Notes
Notes: svn path=/head/; revision=383140
Diffstat (limited to 'textproc/intltool/Makefile')
-rw-r--r--textproc/intltool/Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/textproc/intltool/Makefile b/textproc/intltool/Makefile
index 9f5ff2041ae3..9e7df41a4aca 100644
--- a/textproc/intltool/Makefile
+++ b/textproc/intltool/Makefile
@@ -4,6 +4,7 @@
PORTNAME= intltool
PORTVERSION= 0.50.2
+PORTREVISION= 1
CATEGORIES= textproc gnome
MASTER_SITES= http://launchpadlibrarian.net/94524169/
DIST_SUBDIR= gnome
@@ -16,17 +17,5 @@ RUN_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
USES= iconv gmake perl5
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --libdir="${PREFIX}/libdata"
-
-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} ${STAGEDIR}${PREFIX}/share/intltool/XML/Parser/Style
- ${INSTALL_DATA} ${FILESDIR}/OrigTree.pm \
- ${STAGEDIR}${PREFIX}/share/intltool/XML/Parser/Style
.include <bsd.port.mk>