diff --git a/textproc/intltool/Makefile b/textproc/intltool/Makefile index 0234bad7880f..5e490dba53b9 100644 --- a/textproc/intltool/Makefile +++ b/textproc/intltool/Makefile @@ -7,6 +7,7 @@ PORTNAME= intltool PORTVERSION= 0.28 +PORTREVISION= 1 CATEGORIES= textproc gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.28 @@ -22,6 +23,7 @@ USE_BZIP2= yes USE_GMAKE= yes USE_PERL5= yes USE_GNOME= gnometarget +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir="${PREFIX}/libdata" @@ -30,4 +32,7 @@ MAN8= intltool-extract.8 intltool-merge.8 intltool-prepare.8 \ CONFLICTS= xml-i18n-tools-* +post-patch: + @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/intltool-merge.in + .include diff --git a/textproc/intltool/pkg-plist b/textproc/intltool/pkg-plist index 70bfa34abdea..1f5de443974e 100644 --- a/textproc/intltool/pkg-plist +++ b/textproc/intltool/pkg-plist @@ -21,4 +21,7 @@ share/intltool/intltool-update.in share/intltool/xml-i18n-po-Makefile.in.in-patch-1 share/intltool/xml-i18n-po-Makefile.in.in-patch-2 share/intltool/xml-i18n-po-Makefile.in.in-patch-5 +@dirrm share/intltool/XML/Parser/Style +@dirrm share/intltool/XML/Parser +@dirrm share/intltool/XML @dirrm share/intltool