aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Locale-libintl
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-10-11 13:29:41 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-10-11 13:29:41 +0000
commit438e703c405efdf61c644648133cfbf184efd25a (patch)
tree6e931f932525c2df3b0e6d88463b5e590f05e405 /devel/p5-Locale-libintl
parent39e77a7007d1fea71b56e0d82acd2336b26ffc0f (diff)
downloadports-438e703c405efdf61c644648133cfbf184efd25a.tar.gz
ports-438e703c405efdf61c644648133cfbf184efd25a.zip
Notes
Diffstat (limited to 'devel/p5-Locale-libintl')
-rw-r--r--devel/p5-Locale-libintl/Makefile12
-rw-r--r--devel/p5-Locale-libintl/pkg-plist5
2 files changed, 14 insertions, 3 deletions
diff --git a/devel/p5-Locale-libintl/Makefile b/devel/p5-Locale-libintl/Makefile
index ca5e92646989..2ab6c41b4aef 100644
--- a/devel/p5-Locale-libintl/Makefile
+++ b/devel/p5-Locale-libintl/Makefile
@@ -19,8 +19,6 @@ COMMENT= Internationalization library for Perl
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
RUN_DEPENDS= ${BUILD_DEPENDS}
-BROKEN= Incomplete pkg-plist
-
PERL_CONFIGURE= yes
USE_GETTEXT= yes
@@ -171,4 +169,12 @@ MAN3= Locale::RecodeData::IBM862.3 \
Locale::RecodeData::IBM290.3 \
Locale::RecodeData::IBM903.3 \
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} > 500600
+PLIST_SUB= NEWPERL=""
+.else
+PLIST_SUB= NEWPERL="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Locale-libintl/pkg-plist b/devel/p5-Locale-libintl/pkg-plist
index f25194a37a60..417b9ec13509 100644
--- a/devel/p5-Locale-libintl/pkg-plist
+++ b/devel/p5-Locale-libintl/pkg-plist
@@ -145,6 +145,11 @@
%%SITE_PERL%%/Locale/Recode.pm
%%SITE_PERL%%/Locale/gettext_xs.pod
%%SITE_PERL%%/Locale/Messages.pm
+%%NEWPERL%%%%SITE_PERL%%/Locale/gettext_xs.pm
+%%NEWPERL%%%%SITE_PERL%%/mach/auto/Locale/gettext_xs/gettext_xs.so
+%%NEWPERL%%%%SITE_PERL%%/mach/auto/Locale/gettext_xs/gettext_xs.bs
+%%NEWPERL%%@dirrm %%SITE_PERL%%/mach/auto/Locale/gettext_xs
+%%NEWPERL%%@unexec rmdir %D/%%SITE_PERL%%/mach/auto/Locale
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/libintl-perl
@dirrm %%SITE_PERL%%/Locale/RecodeData
@dirrm %%SITE_PERL%%/Locale/Recode