summaryrefslogtreecommitdiffstats
path: root/devel/p5-Locale-Maketext-Gettext/Makefile
blob: 75fa1ecc0cc0b7ada49c0c4dd7c22fab04f26ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:	p5-Locale-Maketext-Gettext
# Date created:				April 26 2003
# Whom:					Mathieu Arnold <m@absolight.net>
#
# $FreeBSD$
#

PORTNAME=	Locale-Maketext-Gettext
PORTVERSION=	1.17
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Locale
PKGNAMEPREFIX=	p5-

MAINTAINER=	mat@FreeBSD.org
COMMENT=	Joins gettext and Maketext frameworks

BUILD_DEPENDS=	${SITE_PERL}/Locale/Maketext.pm:${PORTSDIR}/devel/p5-Locale-Maketext
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	YES

MAN1=		maketext.1
MAN3=		Locale::Maketext::Gettext.3 \
		Locale::Maketext::Gettext::Functions.3

.if !defined(NOPORTDOCS)
PORTDOCS=	BUGS Changes README

post-install:
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500800
IGNORE="Need at least perl 5.8 to build"
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud