diff options
author | obache <obache@pkgsrc.org> | 2009-11-29 08:10:59 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2009-11-29 08:10:59 +0000 |
commit | 04bbd045122993c295e28d44e438096eb9b12f7e (patch) | |
tree | 10d3adecbf9cbe9324995c6216966c2e541d4e73 /databases | |
parent | 660b21a7873937200dc74c4f90b67e959b7222c7 (diff) | |
download | pkgsrc-04bbd045122993c295e28d44e438096eb9b12f7e.tar.gz |
Import ruby-ldap-0.9.8 as databases/ruby-ldap.
'Ruby/LDAP' is a Ruby extension library that provides an interface to the LDAP
API as described in RFC1823.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/ruby-ldap/DESCR | 2 | ||||
-rw-r--r-- | databases/ruby-ldap/Makefile | 38 | ||||
-rw-r--r-- | databases/ruby-ldap/PLIST | 12 | ||||
-rw-r--r-- | databases/ruby-ldap/distinfo | 5 |
4 files changed, 57 insertions, 0 deletions
diff --git a/databases/ruby-ldap/DESCR b/databases/ruby-ldap/DESCR new file mode 100644 index 00000000000..dd39d7d4564 --- /dev/null +++ b/databases/ruby-ldap/DESCR @@ -0,0 +1,2 @@ +'Ruby/LDAP' is a Ruby extension library that provides an interface to the LDAP +API as described in RFC1823. diff --git a/databases/ruby-ldap/Makefile b/databases/ruby-ldap/Makefile new file mode 100644 index 00000000000..3a92213e25f --- /dev/null +++ b/databases/ruby-ldap/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/11/29 08:10:59 obache Exp $ + +DISTNAME= ruby-ldap-${VER} +PKGNAME= ${RUBY_PKGPREFIX}-ldap-${VER} +CATEGORIES= databases ruby +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-ldap/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://ruby-ldap.sourceforge.net/ +COMMENT= LDAP extension module for Ruby +LICENSE= modified-bsd + +PKG_DESTDIR_SUPPORT= user-destdir + +VER= 0.9.8 + +REPLACE_RUBY_DIRS= example/pr_ctl example/cgi/search.cgi +RUBY_HAS_ARCHLIB= yes +USE_RUBY_EXTCONF= yes +USE_TOOLS+= pax + +CONFIGURE_ARGS+= --with-openldap2 +CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap-client} + +DOCS= ChangeLog FAQ README TODO + +INSTALLATION_DIRS= ${RUBY_DOCDIR}/ldap ${RUBY_EXAMPLESDIR}/ldap + +post-install: +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${RUBY_DOCDIR}/ldap +.endfor + cd ${WRKSRC}/example && pax -rw -pp * ${DESTDIR}${RUBY_EXAMPLESDIR}/ldap + +.include "../../databases/openldap-client/buildlink3.mk" +.include "../../lang/ruby/modules.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/ruby-ldap/PLIST b/databases/ruby-ldap/PLIST new file mode 100644 index 00000000000..1e00b9ad2d9 --- /dev/null +++ b/databases/ruby-ldap/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/11/29 08:10:59 obache Exp $ +${RUBY_VENDORARCHLIB}/ldap.${RUBY_DLEXT} +${RUBY_VENDORLIB}/ldap/control.rb +${RUBY_VENDORLIB}/ldap/ldif.rb +${RUBY_VENDORLIB}/ldap/schema.rb +${RUBY_DOCDIR}/ldap/ChangeLog +${RUBY_DOCDIR}/ldap/FAQ +${RUBY_DOCDIR}/ldap/README +${RUBY_DOCDIR}/ldap/TODO +${RUBY_EXAMPLESDIR}/ldap/cgi/search.cgi +${RUBY_EXAMPLESDIR}/ldap/cgi/search.html +${RUBY_EXAMPLESDIR}/ldap/pr_ctl diff --git a/databases/ruby-ldap/distinfo b/databases/ruby-ldap/distinfo new file mode 100644 index 00000000000..6286a63b9f2 --- /dev/null +++ b/databases/ruby-ldap/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/11/29 08:10:59 obache Exp $ + +SHA1 (ruby-ldap-0.9.8.tar.bz2) = 2e00866df43b2def8a0ad40dfd27df14fcf51b72 +RMD160 (ruby-ldap-0.9.8.tar.bz2) = 8ab52b76fa81a489133bdb32d7e6f5dc766a6b80 +Size (ruby-ldap-0.9.8.tar.bz2) = 54556 bytes |