Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # $OpenBSD: Makefile,v 1.16 2016/03/20 19:56:11 naddy Exp $
  2. COMMENT = SQL DDL transformations and more
  3. DISTNAME = SQL-Translator-0.11021
  4. CATEGORIES = databases
  5. MODULES = cpan databases/postgresql
  6. PKG_ARCH = *
  7. MAINTAINER = Andrew Fresh <afresh1@openbsd.org>
  8. HOMEPAGE = http://sqlfairy.sourceforge.net/
  9. # perl
  10. PERMIT_PACKAGE_CDROM = Yes
  11. CONFIGURE_ARGS = --skipdeps
  12. RUN_DEPENDS = databases/p5-DBI>=1.54 \
  13. devel/p5-Carp-Clan>=0 \
  14. devel/p5-File-ShareDir>=1.0 \
  15. devel/p5-List-MoreUtils>=0.09 \
  16. devel/p5-Moo>=0 \
  17. devel/p5-Package-Variant>=1.001001 \
  18. devel/p5-Parse-RecDescent>=1.967009 \
  19. devel/p5-Try-Tiny>=0.04
  20. TEST_DEPENDS = converters/p5-JSON>=2.0 \
  21. devel/p5-Test-Differences>=0 \
  22. devel/p5-Test-Exception>=0.31 \
  23. devel/p5-YAML>=0.66 \
  24. textproc/p5-XML-Writer>=0.500
  25. # Optional depends to avoid skipping tests
  26. TEST_DEPENDS += graphics/p5-GD \
  27. misc/p5-Spreadsheet-ParseExcel \
  28. textproc/p5-Template \
  29. textproc/p5-Text-RecordParser \
  30. textproc/p5-XML-LibXML \
  31. databases/p5-DBD-Pg \
  32. databases/p5-DBD-SQLite
  33. MODPOSTGRESQL_TEST_DBNAME = sql-translator-test
  34. MAKE_ENV += DBICTEST_PG_DSN='dbi:Pg:dbname=${MODPOSTGRESQL_TEST_DBNAME}' \
  35. DBICTEST_PG_USER=${USER} \
  36. DBICTEST_PG_PASS=1
  37. # If someone ports p5-Graph-Directed, that will enable more tests
  38. # Tests require CGI and CGI::Utils
  39. .include <bsd.port.mk>