Updated to 2.1, examples added
This commit is contained in:
parent
647a94a656
commit
43a799c4ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60459
@ -6,17 +6,29 @@
|
||||
#
|
||||
|
||||
PORTNAME= SVG
|
||||
PORTVERSION= 1.13
|
||||
PORTVERSION= 2.1
|
||||
CATEGORIES= textproc graphics perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= SVG
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= skv@protey.ru
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
|
||||
|
||||
MAN3= SVG.3
|
||||
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
MAN3= SVG.3 SVG::DOM.3 SVG::Element.3 SVG::Manual.3 SVG::XML.3
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} \( -name "*.p[lm]" -or -name "*.cgi" \
|
||||
-or -name "*.pod" \)|xargs ${PERL} -pi -e 's/\x0d//g;'
|
||||
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (SVG-1.13.tar.gz) = ff0057028d56a2d161ec59c7b915cbf5
|
||||
MD5 (SVG-2.1.tar.gz) = b65c1cfae7b18d92f902a52cd0a9d0c4
|
||||
|
@ -1,7 +1,7 @@
|
||||
SVG.pm is a perl extention to generate stand-alone or inline SVG (scaleable
|
||||
vector graphics) images using the W3C SVG xml recommendation.
|
||||
SVG.pm is a perl extention to generate stand-alone or inline SVG
|
||||
(scaleable vector graphics) images using the W3C SVG xml recommendation.
|
||||
|
||||
WWW: http://search.cpan.org/search?dist=SVG
|
||||
|
||||
-- Godegisel
|
||||
skv@protey.ru
|
||||
-- Sergey Skvortsov
|
||||
skv@FreeBSD.org
|
||||
|
@ -1,5 +1,19 @@
|
||||
lib/perl5/site_perl/%%PERL_VER%%/SVG.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/SVG/Utils.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SVG/.packlist
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SVG
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/SVG
|
||||
lib/perl5/site_perl/%%PERL_VER%%/SVG.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/SVG/DOM.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/SVG/Element.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/SVG/Manual.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/SVG/XML.pm
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/SVG_02_sample.pl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/image_sample.pl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/inline_sample.pl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/inlinesvg.pl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/minsvg.pl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/starpath.cgi
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/sun_text_sample.pl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/svg.pl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/svgtest2.pl
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/yaph5.cgi
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/SVG 2>/dev/null || true
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SVG 2>/dev/null || true
|
||||
|
Loading…
Reference in New Issue
Block a user