blob: e14f8198529bf68661489c12fa2b77f44dddb170 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# New ports collection makefile for: po4a
# Date created: 08 January 2006
# Whom: Meno Abels <meno.abels@adviser.com>
#
# $FreeBSD$
#
PORTNAME= po4a
PORTVERSION= 0.40.1
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= http://alioth.debian.org/frs/download.php/3341/
MAINTAINER= garga@FreeBSD.org
COMMENT= Brings gettext translation tools to all kinds of docs
BUILD_DEPENDS= p5-Term-ReadKey>=2.30:${PORTSDIR}/devel/p5-Term-ReadKey \
libtext-wrapi18n-perl>=0.06:${PORTSDIR}/textproc/libtext-wrapi18n-perl \
p5-SGMLSpm>=1.03:${PORTSDIR}/textproc/p5-SGMLSpm \
p5-Locale-gettext>=1.05:${PORTSDIR}/devel/p5-Locale-gettext \
jade>=0:${PORTSDIR}/textproc/jade
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GETTEXT= yes
USE_PERL5= yes
PERL_MODBUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}
MANPREFIX= ${PREFIX}
MAN3PREFIX= ${MANPREFIX}
MAN3= \
Locale::Po4a::Debconf.3 \
Locale::Po4a::Halibut.3 \
Locale::Po4a::Html.3 \
Locale::Po4a::NewsDebian.3 \
Locale::Po4a::TransTractor.3 \
Locale::Po4a::Wml.3 \
Locale::Po4a::BibTeX.3 \
Locale::Po4a::Chooser.3 \
Locale::Po4a::Common.3 \
Locale::Po4a::Dia.3 \
Locale::Po4a::Docbook.3 \
Locale::Po4a::Guide.3 \
Locale::Po4a::Ini.3 \
Locale::Po4a::KernelHelp.3 \
Locale::Po4a::LaTeX.3 \
Locale::Po4a::Man.3 \
Locale::Po4a::Po.3 \
Locale::Po4a::Pod.3 \
Locale::Po4a::Sgml.3 \
Locale::Po4a::TeX.3 \
Locale::Po4a::Texinfo.3 \
Locale::Po4a::Text.3 \
Locale::Po4a::Xhtml.3 \
Locale::Po4a::Xml.3
MAN1= msguntypot.1 \
po4a.1 \
po4a-gettextize.1 \
po4a-normalize.1 \
po4a-translate.1 \
po4a-updatepo.1
PORT_VERBS= ${PORTNAME} Po4a msguntypot
post-patch:
@${REINPLACE_CMD} -e '/install_path/s|/locale|/share&|;/my .options/s|-v|-k 0 &|;\
s|gzip|${TRUE}|g;s|3pm|3|g;s|1p|1|g' ${WRKSRC}/Build.PL
.include <bsd.port.mk>
|