mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
- Update to 2.52
- Use USE_DOS2UNIX instead of hand-made post-patch: Changes: http://search.cpan.org/dist/SVG/Changes
This commit is contained in:
parent
dc65880249
commit
819cc103d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298605
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= SVG
|
||||
PORTVERSION= 2.51
|
||||
PORTVERSION= 2.52
|
||||
CATEGORIES= textproc graphics perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
@ -18,19 +18,23 @@ LICENSE= ART10 GPLv1
|
||||
LICENSE_COMB= dual
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
USE_DOS2UNIX= yes
|
||||
|
||||
MAN3= SVG.3 SVG::DOM.3 SVG::Element.3 SVG::Extension.3 \
|
||||
SVG::Manual.3 SVG::XML.3
|
||||
|
||||
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}
|
||||
${MKDIR} ${EXAMPLESDIR}/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 501001
|
||||
BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
|
||||
RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (SVG-2.51.tar.gz) = 1b9d5e30de094954a6480c24eaad1c5bcf0583f1f1cca510dc3f9e4dbd65665d
|
||||
SIZE (SVG-2.51.tar.gz) = 52590
|
||||
SHA256 (SVG-2.52.tar.gz) = 99c4086ea050cbca286f25be9f8f08353b9558d9620c584afdd3ff6843530aac
|
||||
SIZE (SVG-2.52.tar.gz) = 53809
|
||||
|
@ -7,6 +7,9 @@
|
||||
%%SITE_PERL%%/SVG/XML.pm
|
||||
@dirrmtry %%SITE_PERL%%/SVG
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVG
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/01_circle.pl
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/02_circle_with_color.pl
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/03_circle_and_square.pl
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SVG_02_sample.pl
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/attributeManip.pl
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/image_sample.pl
|
||||
|
Loading…
Reference in New Issue
Block a user