Makefile 605 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.41 2017/04/24 16:25:04 sthen Exp $
  2. COMMENT= SQLite drivers for the Perl DBI
  3. MODULES= cpan
  4. DISTNAME= DBD-SQLite-1.50
  5. CATEGORIES= databases
  6. EPOCH= 0
  7. REVISION= 1
  8. MAINTAINER= Robert Nagy <robert@openbsd.org>
  9. # artistic
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += c perl sqlite3
  12. BUILD_DEPENDS = databases/p5-DBI>=1.57
  13. RUN_DEPENDS = databases/p5-DBI>=1.57
  14. LIB_DEPENDS = databases/sqlite3
  15. CONFIGURE_ARGS= SQLITE_LOCATION=${LOCALBASE}
  16. MAKE_FLAGS= CC='${CC}' \
  17. LD='${CC}'
  18. MAKE_ENV += AUTOMATED_TESTING=1
  19. post-extract:
  20. rm ${WRKSRC}/sqlite3.{c,h}
  21. .include <bsd.port.mk>