From owner-svn-ports-head@FreeBSD.ORG Fri Jan 17 21:29:01 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B536FCA; Fri, 17 Jan 2014 21:29:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A0B1C1D4A; Fri, 17 Jan 2014 21:29:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0HLT1d6089437; Fri, 17 Jan 2014 21:29:01 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0HLT1HC089435; Fri, 17 Jan 2014 21:29:01 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201401172129.s0HLT1HC089435@svn.freebsd.org> From: Antoine Brodin Date: Fri, 17 Jan 2014 21:29:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340111 - head/devel/autodia X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 21:29:01 -0000 Author: antoine Date: Fri Jan 17 21:29:00 2014 New Revision: 340111 URL: http://svnweb.freebsd.org/changeset/ports/340111 QAT: https://qat.redports.org/buildarchive/r340111/ Log: - Stage support - Use OPTIONS helpers Modified: head/devel/autodia/Makefile head/devel/autodia/pkg-plist Modified: head/devel/autodia/Makefile ============================================================================== --- head/devel/autodia/Makefile Fri Jan 17 21:23:09 2014 (r340110) +++ head/devel/autodia/Makefile Fri Jan 17 21:29:00 2014 (r340111) @@ -23,57 +23,21 @@ OPTIONS_DEFAULT= GRAPHVIZ SPRINGGRAPH VC SPRINGGRAPH_DESC= SpringGraph support VCG_DESC= VCG support -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= autodia.pl USE_PERL5= configure -MAN1= autodia.pl.1 -MAN3= Autodia.3 autodia.3 \ - Autodia::Diagram.3 \ - Autodia::Diagram::Class.3 \ - Autodia::Diagram::Component.3 \ - Autodia::Handler.3 \ - Autodia::Handler::ASP.3 \ - Autodia::Handler::CSharp.3 \ - Autodia::Handler::Cpp.3 \ - Autodia::Handler::DBI.3 \ - Autodia::Handler::DBI_SQLT.3 \ - Autodia::Handler::Mason.3 \ - Autodia::Handler::PHP.3 \ - Autodia::Handler::Perl.3 \ - Autodia::Handler::SQL.3 \ - Autodia::Handler::Torque.3 \ - Autodia::Handler::dia.3 \ - Autodia::Handler::umbrello.3 PORTDOCS= CHANGES CREDITS DEVELOP FAQ INSTALL MANIFEST README TODO -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MGRAPHVIZ} -RUN_DEPENDS+= p5-GraphViz>=0:${PORTSDIR}/graphics/p5-GraphViz -.endif - -.if ${PORT_OPTIONS:MSPRINGGRAPH} -RUN_DEPENDS+= p5-SpringGraph>=0:${PORTSDIR}/graphics/p5-SpringGraph -.endif - -.if ${PORT_OPTIONS:MVCG} -RUN_DEPENDS+= p5-VCG>=0:${PORTSDIR}/graphics/p5-VCG -.endif - -post-patch: - @${REINPLACE_CMD} -e \ - '/^#!/s|/.*perl|${PERL}|' ${WRKSRC}/autodia.pl +GRAPHVIZ_RUN_DEPENDS= p5-GraphViz>=0:${PORTSDIR}/graphics/p5-GraphViz +SPRINGGRAPH_RUN_DEPENDS= p5-SpringGraph>=0:${PORTSDIR}/graphics/p5-SpringGraph +VCG_RUN_DEPENDS= p5-VCG>=0:${PORTSDIR}/graphics/p5-VCG pre-configure: @${FIND} ${WRKSRC} -name "*.orig" -delete post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} -.for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -.endfor -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Modified: head/devel/autodia/pkg-plist ============================================================================== --- head/devel/autodia/pkg-plist Fri Jan 17 21:23:09 2014 (r340110) +++ head/devel/autodia/pkg-plist Fri Jan 17 21:29:00 2014 (r340111) @@ -25,6 +25,25 @@ bin/autodia.pl %%SITE_PERL%%/Autodia/Handler/umbrello.pm %%SITE_PERL%%/autodia.pl %%SITE_PERL%%/%%PERL_ARCH%%/auto/Autodia/.packlist +%%PERL5_MAN3%%/Autodia.3.gz +%%PERL5_MAN3%%/Autodia::Diagram.3.gz +%%PERL5_MAN3%%/Autodia::Diagram::Class.3.gz +%%PERL5_MAN3%%/Autodia::Diagram::Component.3.gz +%%PERL5_MAN3%%/Autodia::Handler.3.gz +%%PERL5_MAN3%%/Autodia::Handler::ASP.3.gz +%%PERL5_MAN3%%/Autodia::Handler::CSharp.3.gz +%%PERL5_MAN3%%/Autodia::Handler::Cpp.3.gz +%%PERL5_MAN3%%/Autodia::Handler::DBI.3.gz +%%PERL5_MAN3%%/Autodia::Handler::DBI_SQLT.3.gz +%%PERL5_MAN3%%/Autodia::Handler::Mason.3.gz +%%PERL5_MAN3%%/Autodia::Handler::PHP.3.gz +%%PERL5_MAN3%%/Autodia::Handler::Perl.3.gz +%%PERL5_MAN3%%/Autodia::Handler::SQL.3.gz +%%PERL5_MAN3%%/Autodia::Handler::Torque.3.gz +%%PERL5_MAN3%%/Autodia::Handler::dia.3.gz +%%PERL5_MAN3%%/Autodia::Handler::umbrello.3.gz +%%PERL5_MAN3%%/autodia.3.gz +man/man1/autodia.pl.1.gz @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Autodia @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto @dirrm %%SITE_PERL%%/Autodia/Handler