freebsd-ports/textproc/p5-XML-RSS-JavaScript/Makefile
Yen-Ming Lee 57533348da - update to 0.50
- assign maintainer to perl@
2005-09-24 18:13:39 +00:00

34 lines
796 B
Makefile

# New ports collection makefile for: p5-XML-RSS-JavaScript
# Date created: 31 Oct 2003
# Whom: Foxfair Hu <foxfair@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= XML-RSS-JavaScript
PORTVERSION= 0.50
CATEGORIES= textproc www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.$//}
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension to serialize your RSS as JavaScript
BUILD_DEPENDS= ${SITE_PERL}/XML/RSS.pm:${PORTSDIR}/textproc/p5-XML-RSS
PERL_CONFIGURE= yes
MAN3= XML::RSS::JavaScript.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
@${PERL} -pi -e 's/^our (\S+)/use vars qw{$$1};$$1/g;' \
-e 's/\r//g;' \
${WRKSRC}/lib/XML/RSS/JavaScript.pm
.endif
.include <bsd.port.post.mk>