24 lines
843 B
Makefile
24 lines
843 B
Makefile
# $NetBSD: Makefile,v 1.23 2020/01/18 21:49:05 jperkin Exp $
|
|
|
|
DISTNAME= ruby-ldap-0.9.16
|
|
PKGNAME= ${DISTNAME:S/^ruby-/${RUBY_PKGPREFIX}-/}
|
|
PKGREVISION= 3
|
|
CATEGORIES= databases ruby
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/alexey-chebotar/ruby-ldap
|
|
COMMENT= LDAP extension module for Ruby
|
|
LICENSE= modified-bsd
|
|
|
|
CONFIGURE_ARGS+= --with-openldap2
|
|
CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap-client}
|
|
|
|
GEM_CLEANBUILD= Makefile *.o *.time ldap.${RUBY_DLEXT} mkmf.log
|
|
GEM_CLEANBUILD_EXTENSIONS= ldap/control.rb ldap/ldif.rb ldap/schema.rb
|
|
|
|
# for LDAP_OPT_X_SASL_NOCANON
|
|
BUILDLINK_API_DEPENDS.openldap-client+= openldap-client>=2.4.14
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
|
.include "../../security/cyrus-sasl/buildlink3.mk"
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|