freebsd-ports/devel/p5-Locale-Maketext-Lexicon/Makefile

54 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: p5-Locale-Maketext-Lexicon
# Date created: February 23, 2003
# Whom: Mathieu Arnold <m@absolight.net>
#
# $FreeBSD$
#
PORTNAME= Locale-Maketext-Lexicon
2005-05-17 17:50:50 +02:00
PORTVERSION= 0.49
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Locale
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= Use other catalog formats in Locale::Maketext
BUILD_DEPENDS= ${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common \
${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser \
${SITE_PERL}/Locale/Maketext.pm:${PORTSDIR}/devel/p5-Locale-Maketext
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
2003-10-10 12:55:18 +02:00
MAN3= Locale::Maketext::Extract.3 \
Locale::Maketext::Lexicon::Auto.3 \
Locale::Maketext::Lexicon::Gettext.3 \
Locale::Maketext::Lexicon::Msgcat.3 \
Locale::Maketext::Lexicon::Tie.3 \
Locale::Maketext::Lexicon.3
MAN1= xgettext.pl.1
2004-12-20 18:42:54 +01:00
.if !defined(NOPORTDOCS)
PORTDOCS= AUTHORS Changes README
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
2004-03-18 17:40:53 +01:00
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
@${PERL} -pi -e '$$_ = "" if /no warnings/;' \
2004-08-25 12:35:25 +02:00
-e 's/^our (\S+);/use vars qw{$$1};/;' \
${WRKSRC}/lib/Locale/Maketext/Lexicon.pm
2004-03-18 17:40:53 +01:00
.endif
.include <bsd.port.post.mk>