aboutsummaryrefslogtreecommitdiffstats
path: root/converters/p5-WAP-wbxml/Makefile
blob: fa57fbe2bca013ce866c0437070e0e28e1f04c71 (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
30
31
32
33
# New ports collection makefile for:    converters/p5-WAP-wbxml
# Date created:             1 Aug 2006
# Whom:                 Timur I. Bakeyev <bat@cpan.org>
#
# $FreeBSD$
#

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

MAINTAINER= timur@FreeBSD.org
COMMENT=    Binarization of XML file

BUILD_DEPENDS=  ${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM \
        ${SITE_PERL}/I18N/Charset.pm:${PORTSDIR}/misc/p5-I18N-Charset \
        ${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${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>