Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 17:56:05 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332881 - in head/databases/p5-SQL-Translator: . files
Message-ID:  <201311051756.rA5Hu5ai074192@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Nov  5 17:56:05 2013
New Revision: 332881
URL: http://svnweb.freebsd.org/changeset/ports/332881

Log:
  - Update to 0.11018
  - Add LICENSE
  - Fix and sort *_DEPENDS
  - Convert to new options helper
  - Use REINPLACE_CMD instead of patch file
  
  Changes:	http://search.cpan.org/dist/SQL-Translator/Changes

Deleted:
  head/databases/p5-SQL-Translator/files/
Modified:
  head/databases/p5-SQL-Translator/Makefile
  head/databases/p5-SQL-Translator/distinfo   (contents, props changed)
Directory Properties:
  head/databases/p5-SQL-Translator/pkg-plist   (props changed)

Modified: head/databases/p5-SQL-Translator/Makefile
==============================================================================
--- head/databases/p5-SQL-Translator/Makefile	Tue Nov  5 17:56:00 2013	(r332880)
+++ head/databases/p5-SQL-Translator/Makefile	Tue Nov  5 17:56:05 2013	(r332881)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	SQL-Translator
-PORTVERSION=	0.11016
+PORTVERSION=	0.11018
 CATEGORIES=	databases perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -10,48 +10,45 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Manipulate structured data definitions (SQL and more)
 
-BUILD_DEPENDS=	p5-Class-Base>=0:${PORTSDIR}/devel/p5-Class-Base \
-		p5-Class-Data-Inheritable>=0.02:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
-		p5-Class-MakeMethods>=0:${PORTSDIR}/devel/p5-Class-MakeMethods \
-		p5-Carp-Clan>=0:${PORTSDIR}/devel/p5-Carp-Clan \
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Carp-Clan>=0:${PORTSDIR}/devel/p5-Carp-Clan \
+		p5-DBI>=1.54:${PORTSDIR}/databases/p5-DBI \
 		p5-File-ShareDir>=1:${PORTSDIR}/devel/p5-File-ShareDir \
-		p5-Digest-SHA1>=2.0:${PORTSDIR}/security/p5-Digest-SHA1 \
-		p5-Parse-RecDescent>=1.962.2:${PORTSDIR}/devel/p5-Parse-RecDescent \
-		p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
-		p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
-		p5-Template-Toolkit>=2.20:${PORTSDIR}/www/p5-Template-Toolkit \
-		p5-IO-stringy>=0:${PORTSDIR}/devel/p5-IO-stringy \
-		p5-Moo>=0.009007:${PORTSDIR}/devel/p5-Moo \
-		p5-Package-Variant>=0:${PORTSDIR}/devel/p5-Package-Variant \
+		p5-JSON>=2:${PORTSDIR}/converters/p5-JSON \
+		p5-List-MoreUtils>=0.09:${PORTSDIR}/lang/p5-List-MoreUtils \
+		p5-Moo>=1.000003:${PORTSDIR}/devel/p5-Moo \
+		p5-Package-Variant>=1.001001:${PORTSDIR}/devel/p5-Package-Variant \
+		p5-Parse-RecDescent>=1.967.009:${PORTSDIR}/devel/p5-Parse-RecDescent \
 		p5-Spreadsheet-ParseExcel>=0.41:${PORTSDIR}/textproc/p5-Spreadsheet-ParseExcel \
-		p5-Text-ParseWords>0:${PORTSDIR}/textproc/p5-Text-ParseWords \
+		p5-Template-Toolkit>=2.20:${PORTSDIR}/www/p5-Template-Toolkit \
+		p5-Text-ParseWords>=0:${PORTSDIR}/textproc/p5-Text-ParseWords \
 		p5-Text-RecordParser>=0.02:${PORTSDIR}/textproc/p5-Text-RecordParser \
-		p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
-		p5-XML-LibXML>=1.69:${PORTSDIR}/textproc/p5-XML-LibXML \
+		p5-Try-Tiny>=0.04:${PORTSDIR}/lang/p5-Try-Tiny \
 		p5-XML-Writer>=0.5:${PORTSDIR}/textproc/p5-XML-Writer \
-		p5-YAML>0:${PORTSDIR}/textproc/p5-YAML
+		p5-XML-LibXML>=1.69:${PORTSDIR}/textproc/p5-XML-LibXML \
+		p5-YAML>=0.66:${PORTSDIR}/textproc/p5-YAML
 RUN_DEPENDS:=	${BUILD_DEPENDS}
-TEST_DEPENDS=	p5-Test-Differences>=0.61:${PORTSDIR}/devel/p5-Test-Differences \
+TEST_DEPENDS=	p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
+		p5-Test-Differences>=0.61:${PORTSDIR}/devel/p5-Test-Differences \
 		p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
 
 OPTIONS_DEFINE=	DIAGRAM
 DIAGRAM_DESC=	Diagram generation support
 
+REINPLACE_ARGS=	-i ''
 USES=		perl5
 USE_PERL5=	configure
 
+DIAGRAM_BUILD_DEPENDS=	p5-GD>=0:${PORTSDIR}/graphics/p5-GD \
+			p5-Graph>=0:${PORTSDIR}/math/p5-Graph \
+			p5-GraphViz>=0:${PORTSDIR}/graphics/p5-GraphViz
+
 post-patch:
-	@${FIND} ${WRKSRC} -name "*.orig" -delete
+	@${REINPLACE_CMD} -e 's|@EXPORT|&_OK|' ${WRKSRC}/lib/SQL/Translator/Parser/xSV.pm
 
 regression-test: build
 	cd ${WRKSRC}/ && ${MAKE} test
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDIAGRAM}
-BUILD_DEPENDS+= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \
-		p5-Graph>=0:${PORTSDIR}/math/p5-Graph \
-		p5-GraphViz>=0:${PORTSDIR}/graphics/p5-GraphViz
-.endif
-
 .include <bsd.port.mk>

Modified: head/databases/p5-SQL-Translator/distinfo
==============================================================================
--- head/databases/p5-SQL-Translator/distinfo	Tue Nov  5 17:56:00 2013	(r332880)
+++ head/databases/p5-SQL-Translator/distinfo	Tue Nov  5 17:56:05 2013	(r332881)
@@ -1,2 +1,2 @@
-SHA256 (SQL-Translator-0.11016.tar.gz) = be7e63537ec13c2e5f6b82701878ae5bb03b33209e0cd8208b0a1b93f3cb9493
-SIZE (SQL-Translator-0.11016.tar.gz) = 421466
+SHA256 (SQL-Translator-0.11018.tar.gz) = f16a5899db1c7ed9dac7dea27a163b051d731ddb406fdbd7557d6467786a17ff
+SIZE (SQL-Translator-0.11018.tar.gz) = 427483



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311051756.rA5Hu5ai074192>