Makefile 764 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.8 2016/12/18 18:19:37 jeremy Exp $
  2. COMMENT = Lua procedural language support for PostgreSQL
  3. VERSION = 1.0
  4. DISTNAME = pllua-${VERSION}
  5. PKGNAME = postgresql-pllua-${VERSION}
  6. REVISION = 2
  7. CATEGORIES = databases
  8. HOMEPAGE = http://pllua.projects.postgresql.org/
  9. MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
  10. # MIT
  11. PERMIT_PACKAGE_CDROM = Yes
  12. WANTLIB = c ${MODLUA_WANTLIB}
  13. MASTER_SITES = http://pgfoundry.org/frs/download.php/3481/
  14. MODULES = lang/lua
  15. BUILD_DEPENDS = ${RUN_DEPENDS}
  16. RUN_DEPENDS = postgresql-server->=9.6,<9.7:databases/postgresql,-server
  17. USE_GMAKE = Yes
  18. WRKDIST = ${WRKDIR}/pllua-0.3.2
  19. SUBST_VARS = MODLUA_INCL_DIR MODLUA_WANTLIB
  20. pre-configure:
  21. ${SUBST_CMD} ${WRKSRC}/Makefile
  22. .include <bsd.port.mk>