aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-05-12 14:47:39 +0800
committerdemon <demon@FreeBSD.org>2003-05-12 14:47:39 +0800
commit74d0a2ea21d45550f9c43cd1711af0f883418711 (patch)
treea47c7c77354d5724a5b3cfc4c97c851ec8bb88de /devel
parent48c914910d6cad50b3894dc3e409135eeed1da18 (diff)
downloadfreebsd-ports-gnome-74d0a2ea21d45550f9c43cd1711af0f883418711.tar.gz
freebsd-ports-gnome-74d0a2ea21d45550f9c43cd1711af0f883418711.tar.zst
freebsd-ports-gnome-74d0a2ea21d45550f9c43cd1711af0f883418711.zip
Fix installation for perl-5.8.
Rely on the fact that MANPREFIX is set automatically and utilize SITE_PERL variable. Bump PORTREVISION. Patch made by Anton Berezin <tobez@freebsd.org>.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Locale-Maketext/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/p5-Locale-Maketext/Makefile b/devel/p5-Locale-Maketext/Makefile
index 33ea29426de7..155b8a150066 100644
--- a/devel/p5-Locale-Maketext/Makefile
+++ b/devel/p5-Locale-Maketext/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Locale-Maketext
PORTVERSION= 1.05
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Locale
@@ -15,12 +16,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= mns@shepard.org
COMMENT= A framework for software localization and inheritance-based lexicons
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/I18N/LangTags.pm:${PORTSDIR}/misc/p5-I18N-LangTags
+BUILD_DEPENDS= ${SITE_PERL}/I18N/LangTags.pm:${PORTSDIR}/misc/p5-I18N-LangTags
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
MAN3= Locale::Maketext.3 Locale::Maketext::TPJ13.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+pre-patch:
+ @${PERL} -pi -e 's/INSTALLDIRS/bebe/' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>