aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-10-20 01:40:31 +0800
committerknu <knu@FreeBSD.org>2003-10-20 01:40:31 +0800
commite8f775a8a0c8c510473675abd9a6c49d9163e4d6 (patch)
tree738bc262dafeb059f3ed2701fd66b9f8510b2f66 /net
parent97770d89cea0c208e8291cd7ea7918e0ff47e54c (diff)
downloadfreebsd-ports-gnome-e8f775a8a0c8c510473675abd9a6c49d9163e4d6.tar.gz
freebsd-ports-gnome-e8f775a8a0c8c510473675abd9a6c49d9163e4d6.tar.zst
freebsd-ports-gnome-e8f775a8a0c8c510473675abd9a6c49d9163e4d6.zip
Update to 0.8.1.
Utilize USE_OPENLDAP and WANT_OPENLDAP_VER.instead of hardcoding libldap dependencies.
Diffstat (limited to 'net')
-rw-r--r--net/ruby-ldap/Makefile10
-rw-r--r--net/ruby-ldap/distinfo2
-rw-r--r--net/ruby-ldap/pkg-plist3
3 files changed, 8 insertions, 7 deletions
diff --git a/net/ruby-ldap/Makefile b/net/ruby-ldap/Makefile
index 3ea938e72de1..cbe2956dd7c2 100644
--- a/net/ruby-ldap/Makefile
+++ b/net/ruby-ldap/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ldap
-PORTVERSION= 0.8.0
-PORTREVISION= 1
+PORTVERSION= 0.8.1
CATEGORIES= net ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ruby-${PORTNAME}
@@ -21,9 +20,10 @@ COMMENT= Ruby interface to LDAP API based on RFC1823
WITH_LDAP?= openldap2
.if ${WITH_LDAP} == openldap1
-LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap12
+USE_OPENLDAP= yes
+WANT_OPENLDAP_VER= 12
.elif ${WITH_LDAP} == openldap2
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20-client
+USE_OPENLDAP= yes
.elif ${WITH_LDAP} == ldapsdk
LIB_DEPENDS= ${LOCALBASE}/mozilla/directory/lib/libldap.so.1:${PORTSDIR}/net/ldapsdk
.else
@@ -55,7 +55,7 @@ CONFIGURE_ARGS?= --with-netscape \
#WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
INSTALL_TARGET= site-install
-DOCS_EN= ChangeLog README README.html TODO
+DOCS_EN= ChangeLog FAQ README TODO
post-patch:
${RUBY} -i -pe 'gsub %r|/usr/local/openldap|, "${PREFIX}"' \
diff --git a/net/ruby-ldap/distinfo b/net/ruby-ldap/distinfo
index 9aa6ff1a5f9d..aa726de54a7e 100644
--- a/net/ruby-ldap/distinfo
+++ b/net/ruby-ldap/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-ldap-0.8.0.tar.gz) = b9caecee597865ccedc5bc88571d4cdd
+MD5 (ruby/ruby-ldap-0.8.1.tar.gz) = 1bc749a355b6ac07c262d4477e5b9012
diff --git a/net/ruby-ldap/pkg-plist b/net/ruby-ldap/pkg-plist
index 8d18b167c38a..ab3dfd7e1b23 100644
--- a/net/ruby-ldap/pkg-plist
+++ b/net/ruby-ldap/pkg-plist
@@ -1,4 +1,5 @@
%%RUBY_SITEARCHLIBDIR%%/ldap.so
+%%RUBY_SITELIBDIR%%/ldap/ldif.rb
%%RUBY_SITELIBDIR%%/ldap/schema.rb
@dirrm %%RUBY_SITELIBDIR%%/ldap
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/add.rb
@@ -33,7 +34,7 @@
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/cgi
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/FAQ
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%