freebsd-ports/databases/p5-SQL-Translator/Makefile
Kurt Jaeger 04dc94ab9c databases/p5-SQL-Translator: 0.11020 -> 0.11021
- Fix Oracle producer generating an unnecessary / at the end in case there
  are no triggers
- Skip HTML tests if CGI is not installed (RT#98027)
- Fix JSON and YAML tests if the defaults have been tweaked (RT#98824)
- Fixes for parsing and producing identifiers and values that need
  quoting and escaping for SQLite, MySQL, PostgreSQL, SQLServer and
  Oracle (RT#90700, RT#31034)
- Add support for ALTER TABLE ... ADD CONSTRAINT to Oracle parser
- Add trigger support to Oracle parser (RT#62927)
- Fix erroneous PostgreSQL floating point type translations (RT#99725)
- Remove executable bit from Parser/JSON.pm (RT#100532)
- Update the Free Software Foundation's address (RT#100531)
- Provide default index names for SQLite (GH#45)
- Fix multi-column indexes in Parser::DBI::PostgreSQL
- Fix array data types in Parser::PostgreSQL (GH#49)
- Fix multidimensional sizes in Parser::PostgreSQL

PR:		195194
Submitted by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr>
2015-02-12 21:38:08 +00:00

54 lines
1.9 KiB
Makefile

# Created by: Lars Thegler <lars@thegler.dk>
# $FreeBSD$
PORTNAME= SQL-Translator
PORTVERSION= 0.11021
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Manipulate structured data definitions (SQL and more)
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-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-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.04:${PORTSDIR}/lang/p5-Try-Tiny \
p5-XML-Writer>=0.5:${PORTSDIR}/textproc/p5-XML-Writer \
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-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:
@${REINPLACE_CMD} -e 's|@EXPORT|&_OK|' ${WRKSRC}/lib/SQL/Translator/Parser/xSV.pm
regression-test: build
cd ${WRKSRC}/ && ${MAKE} test
.include <bsd.port.mk>