From owner-svn-ports-head@freebsd.org Wed Feb 28 15:12:49 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DF41F2D3F8; Wed, 28 Feb 2018 15:12:49 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97A327BD6E; Wed, 28 Feb 2018 15:12:48 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 928C31B28C; Wed, 28 Feb 2018 15:12:48 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1SFCm7B070908; Wed, 28 Feb 2018 15:12:48 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1SFCmBY070906; Wed, 28 Feb 2018 15:12:48 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802281512.w1SFCmBY070906@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 28 Feb 2018 15:12:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463220 - head/textproc/p5-XML-STX X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/textproc/p5-XML-STX X-SVN-Commit-Revision: 463220 X-SVN-Commit-Repository: ports 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.25 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: Wed, 28 Feb 2018 15:12:49 -0000 Author: sunpoet Date: Wed Feb 28 15:12:48 2018 New Revision: 463220 URL: https://svnweb.freebsd.org/changeset/ports/463220 Log: Add LICENSE - Sort *_DEPENDS - Remove USE_PERL5=patch - Add SHEBANG_GLOB - Convert to options target helper - Sort PLIST Modified: head/textproc/p5-XML-STX/Makefile head/textproc/p5-XML-STX/pkg-plist Modified: head/textproc/p5-XML-STX/Makefile ============================================================================== --- head/textproc/p5-XML-STX/Makefile Wed Feb 28 15:12:43 2018 (r463219) +++ head/textproc/p5-XML-STX/Makefile Wed Feb 28 15:12:48 2018 (r463220) @@ -11,29 +11,33 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Pure Perl STX processor -BUILD_DEPENDS= p5-XML-SAX>=0:textproc/p5-XML-SAX \ - p5-Clone>=0:devel/p5-Clone \ - p5-XML-NamespaceSupport>=0:textproc/p5-XML-NamespaceSupport +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Clone>=0:devel/p5-Clone \ + p5-XML-NamespaceSupport>=0:textproc/p5-XML-NamespaceSupport \ + p5-XML-SAX>=0:textproc/p5-XML-SAX RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 shebangfix -SHEBANG_FILES= examples/tester.pl examples/stx-filter.pl -USE_PERL5= configure patch +USE_PERL5= configure NO_ARCH= yes +SHEBANG_GLOB= *.pl OPTIONS_DEFINE= DOCS EXAMPLES post-extract: @${MKDIR} ${WRKSRC}/scripts - @${MV} ${WRKSRC}/stx*.pl ${WRKSRC}/scripts + @${MV} ${WRKSRC}/*.pl ${WRKSRC}/scripts post-patch: - @${PERL} -pi -e 's!(?=stx\w+\.pl)!scripts/!g' ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -e '/EXE_FILES/ s|\([[:alpha:]]*\.pl\)|scripts/&|g' ${WRKSRC}/Makefile.PL -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} Modified: head/textproc/p5-XML-STX/pkg-plist ============================================================================== --- head/textproc/p5-XML-STX/pkg-plist Wed Feb 28 15:12:43 2018 (r463219) +++ head/textproc/p5-XML-STX/pkg-plist Wed Feb 28 15:12:48 2018 (r463220) @@ -1,15 +1,5 @@ bin/stxcmd.pl bin/stxview.pl -%%PERL5_MAN3%%/XML::STX.3.gz -%%PERL5_MAN3%%/XML::STX::Base.3.gz -%%PERL5_MAN3%%/XML::STX::Buffer.3.gz -%%PERL5_MAN3%%/XML::STX::Functions.3.gz -%%PERL5_MAN3%%/XML::STX::Parser.3.gz -%%PERL5_MAN3%%/XML::STX::Runtime.3.gz -%%PERL5_MAN3%%/XML::STX::STXPath.3.gz -%%PERL5_MAN3%%/XML::STX::Stylesheet.3.gz -%%PERL5_MAN3%%/XML::STX::TrAX.3.gz -%%PERL5_MAN3%%/XML::STX::Writer.3.gz %%SITE_PERL%%/XML/STX.pm %%SITE_PERL%%/XML/STX/Base.pm %%SITE_PERL%%/XML/STX/Buffer.pm @@ -20,6 +10,16 @@ bin/stxview.pl %%SITE_PERL%%/XML/STX/Stylesheet.pm %%SITE_PERL%%/XML/STX/TrAX.pm %%SITE_PERL%%/XML/STX/Writer.pm +%%PERL5_MAN3%%/XML::STX.3.gz +%%PERL5_MAN3%%/XML::STX::Base.3.gz +%%PERL5_MAN3%%/XML::STX::Buffer.3.gz +%%PERL5_MAN3%%/XML::STX::Functions.3.gz +%%PERL5_MAN3%%/XML::STX::Parser.3.gz +%%PERL5_MAN3%%/XML::STX::Runtime.3.gz +%%PERL5_MAN3%%/XML::STX::STXPath.3.gz +%%PERL5_MAN3%%/XML::STX::Stylesheet.3.gz +%%PERL5_MAN3%%/XML::STX::TrAX.3.gz +%%PERL5_MAN3%%/XML::STX::Writer.3.gz %%PORTDOCS%%%%DOCSDIR%%/STX.html %%PORTDOCS%%%%DOCSDIR%%/TrAXref.html %%PORTDOCS%%%%DOCSDIR%%/TrAXref.pod