2013-01-01 15:55:43 +01:00
|
|
|
# Created by: Lars Thegler <lars@thegler.dk>
|
2004-05-06 12:39:26 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= SQL-Translator
|
2015-02-12 22:38:08 +01:00
|
|
|
PORTVERSION= 0.11021
|
2016-03-21 15:04:34 +01:00
|
|
|
PORTREVISION= 1
|
2004-05-06 12:39:26 +02:00
|
|
|
CATEGORIES= databases perl5
|
2006-12-30 23:17:54 +01:00
|
|
|
MASTER_SITES= CPAN
|
2004-05-06 12:39:26 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2012-05-13 14:40:25 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2004-05-06 12:39:26 +02:00
|
|
|
COMMENT= Manipulate structured data definitions (SQL and more)
|
|
|
|
|
2013-11-05 18:56:05 +01:00
|
|
|
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 \
|
2010-01-15 14:12:21 +01:00
|
|
|
p5-File-ShareDir>=1:${PORTSDIR}/devel/p5-File-ShareDir \
|
2013-11-05 18:56:05 +01:00
|
|
|
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 \
|
2010-01-15 14:12:21 +01:00
|
|
|
p5-Spreadsheet-ParseExcel>=0.41:${PORTSDIR}/textproc/p5-Spreadsheet-ParseExcel \
|
2013-11-05 18:56:05 +01:00
|
|
|
p5-Template-Toolkit>=2.20:${PORTSDIR}/www/p5-Template-Toolkit \
|
|
|
|
p5-Text-ParseWords>=0:${PORTSDIR}/textproc/p5-Text-ParseWords \
|
2009-03-10 15:59:58 +01:00
|
|
|
p5-Text-RecordParser>=0.02:${PORTSDIR}/textproc/p5-Text-RecordParser \
|
2013-11-05 18:56:05 +01:00
|
|
|
p5-Try-Tiny>=0.04:${PORTSDIR}/lang/p5-Try-Tiny \
|
2012-01-29 22:20:26 +01:00
|
|
|
p5-XML-Writer>=0.5:${PORTSDIR}/textproc/p5-XML-Writer \
|
2013-11-05 18:56:05 +01:00
|
|
|
p5-XML-LibXML>=1.69:${PORTSDIR}/textproc/p5-XML-LibXML \
|
2016-03-21 15:04:34 +01:00
|
|
|
p5-strictures>=0:${PORTSDIR}/devel/p5-strictures \
|
2013-11-05 18:56:05 +01:00
|
|
|
p5-YAML>=0.66:${PORTSDIR}/textproc/p5-YAML
|
2011-06-12 21:32:29 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2013-11-05 18:56:05 +01:00
|
|
|
TEST_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
|
|
|
|
p5-Test-Differences>=0.61:${PORTSDIR}/devel/p5-Test-Differences \
|
2012-01-29 22:20:26 +01:00
|
|
|
p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
|
2012-05-31 13:19:32 +02:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= DIAGRAM
|
|
|
|
DIAGRAM_DESC= Diagram generation support
|
2004-05-06 12:39:26 +02:00
|
|
|
|
2013-11-05 18:56:05 +01:00
|
|
|
REINPLACE_ARGS= -i ''
|
2013-08-02 20:52:07 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
2004-05-06 12:39:26 +02:00
|
|
|
|
2013-11-05 18:56:05 +01:00
|
|
|
DIAGRAM_BUILD_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \
|
|
|
|
p5-Graph>=0:${PORTSDIR}/math/p5-Graph \
|
|
|
|
p5-GraphViz>=0:${PORTSDIR}/graphics/p5-GraphViz
|
2016-03-21 15:04:34 +01:00
|
|
|
DIAGRAM_RUN_DEPENDS= ${DIAGRAM_BUILD_DEPENDS}
|
2013-11-05 18:56:05 +01:00
|
|
|
|
2010-01-15 14:12:21 +01:00
|
|
|
post-patch:
|
2013-11-05 18:56:05 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|@EXPORT|&_OK|' ${WRKSRC}/lib/SQL/Translator/Parser/xSV.pm
|
2010-01-15 14:12:21 +01:00
|
|
|
|
2012-03-13 17:15:36 +01:00
|
|
|
regression-test: build
|
|
|
|
cd ${WRKSRC}/ && ${MAKE} test
|
|
|
|
|
2012-05-31 13:19:32 +02:00
|
|
|
.include <bsd.port.mk>
|