Makefile 645 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.2 2016/03/18 20:49:27 naddy Exp $
  2. COMMENT = interface LDAP from lua
  3. DISTNAME= lualdap-1.1.0
  4. CATEGORIES = databases
  5. MASTER_SITES = http://files.luaforge.net/releases/lualdap/lualdap/LuaLDAP1.1.0/
  6. HOMEPAGE = http://www.keplerproject.org/lualdap/
  7. # MIT
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MODULES= lang/lua
  10. MODLUA_VERSION = 5.1
  11. USE_GMAKE = Yes
  12. NO_TEST = Yes
  13. CFLAGS += -DLDAP_DEPRECATED
  14. ALL_TARGET =
  15. LIB_DEPENDS = databases/openldap
  16. WANTLIB = ldap
  17. do-configure:
  18. ${SUBST_CMD} ${WRKSRC}/config
  19. do-install:
  20. ${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}
  21. ${INSTALL_DATA} ${WRKSRC}/src/lualdap.so ${MODLUA_LIBDIR}
  22. .include <bsd.port.mk>