aboutsummaryrefslogtreecommitdiff
path: root/converters/p5-WAP-wbxml/Makefile
blob: bc2731152c14890a890811a222d1e19edc747564 (plain) (blame)
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
# Created by: Timur I. Bakeyev <bat@cpan.org>
# $FreeBSD$

PORTNAME=	WAP-wbxml
PORTVERSION=	1.13
CATEGORIES=	converters perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	5u623l20@gmail.com
COMMENT=	Binarization of XML file

BUILD_DEPENDS=	p5-XML-DOM>=0:${PORTSDIR}/textproc/p5-XML-DOM \
		p5-I18N-Charset>=0:${PORTSDIR}/misc/p5-I18N-Charset \
		p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper
RUN_DEPENDS:=	${BUILD_DEPENDS}

USE_DOS2UNIX=	yes
PERL_CONFIGURE=	yes

MAN1=		wbxmlc.1
MAN3=		WAP::wbxml.3 WAP::wbxml::WbRules.3

post-patch:
.for file in syncml.wbrules.xml wap.wbrules.xml wv.wbrules.xml
		@${PERL} -pi -e 's#\r$$##g' ${WRKSRC}/lib/WAP/wbxml/${file}
.endfor

.include <bsd.port.mk>