# New ports collection makefile for: SVG # Date created: 21 Nov 2001 # Whom: Sergey Skvortsov # # $FreeBSD: ports/textproc/p5-SVG/Makefile,v 1.7 2005/06/16 12:37:48 skv Exp $ # PORTNAME= SVG PORTVERSION= 2.33 CATEGORIES= textproc graphics perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= SVG PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= Perl extension for generating Scalable Vector Graphics (SVG) documents PERL_CONFIGURE= yes MAN3= SVG.3 SVG::DOM.3 SVG::Element.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} .endif .include