Makefile 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # $OpenBSD: Makefile,v 1.21 2016/03/20 19:56:10 naddy Exp $
  2. COMMENT= dynamic definition of a DBIx::Class::Schema
  3. MODULES= cpan
  4. PKG_ARCH= *
  5. DISTNAME= DBIx-Class-Schema-Loader-0.07015
  6. REVISION= 1
  7. CATEGORIES= databases
  8. MAINTAINER= Andrew Fresh <afresh1@openbsd.org>
  9. # Artistic + GPL
  10. PERMIT_PACKAGE_CDROM= Yes
  11. RUN_DEPENDS= databases/p5-DBIx-Class \
  12. databases/p5-DBIx-Class-IntrospectableM2M \
  13. devel/p5-Carp-Clan \
  14. devel/p5-Class-Unload \
  15. devel/p5-Data-Dump \
  16. devel/p5-List-MoreUtils \
  17. p5-Universal-exports-<0.05|p5-Universal-require->=0.11:devel/p5-Universal-require \
  18. textproc/p5-Lingua-EN-Inflect \
  19. textproc/p5-Lingua-EN-Inflect-Phrase \
  20. textproc/p5-Lingua-EN-Inflect-Number \
  21. textproc/p5-Lingua-EN-Tagger \
  22. textproc/p5-String-ToIdentifier-EN \
  23. textproc/p5-String-CamelCase
  24. BUILD_DEPENDS= ${RUN_DEPENDS} \
  25. databases/p5-DBD-SQLite \
  26. devel/p5-Test-Warn \
  27. devel/p5-Task-Weaken \
  28. devel/p5-Try-Tiny
  29. TEST_DEPENDS=devel/p5-Config-Any \
  30. devel/p5-Config-General \
  31. databases/p5-DBD-SQLite \
  32. databases/p5-DBI \
  33. devel/p5-Moose \
  34. devel/p5-MooseX-MarkAsMethods \
  35. devel/p5-MooseX-NonMoose \
  36. devel/p5-Test-Exception \
  37. devel/p5-Test-Warn \
  38. devel/p5-namespace-autoclean
  39. MAKE_ENV= SCHEMA_LOADER_TESTS_BACKCOMPAT=Yes \
  40. TEST_POD=Yes
  41. TEST_PG ?= No
  42. .if ${TEST_PG:L:Myes}
  43. MAKE_ENV += DBICTEST_PG_DSN='dbi:Pg:dbname=test;host=localhost' \
  44. DBICTEST_PG_USER=postgres \
  45. DBICTEST_PG_PASS=
  46. TEST_DEPENDS += databases/p5-DBD-Pg
  47. .endif
  48. TEST_MYSQL ?= No
  49. .if ${TEST_MYSQL:L:Myes}
  50. MAKE_ENV += DBICTEST_MYSQL_DSN='dbi:mysql:database=test;host=localhost' \
  51. DBICTEST_MYSQL_USER=root \
  52. DBICTEST_MYSQL_PASS= \
  53. DBICTEST_MYSQL_INNODB=1
  54. TEST_DEPENDS += databases/p5-DBD-mysql
  55. .endif
  56. .include <bsd.port.mk>