diff options
author | knu <knu@FreeBSD.org> | 2000-11-19 06:14:58 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-11-19 06:14:58 +0800 |
commit | 8357f0eaf67ef61efab67670fbc0f96d4eae7f4f (patch) | |
tree | 706b248f7dc6e7ca5ba57477cadda5e1a658693f /net | |
parent | 96b9464fec99345a7a228ec64c00e9172dd95399 (diff) | |
download | freebsd-ports-gnome-8357f0eaf67ef61efab67670fbc0f96d4eae7f4f.tar.gz freebsd-ports-gnome-8357f0eaf67ef61efab67670fbc0f96d4eae7f4f.tar.zst freebsd-ports-gnome-8357f0eaf67ef61efab67670fbc0f96d4eae7f4f.zip |
Update to 0.3.2. Now excellent examples are provided as a test suite.
Diffstat (limited to 'net')
-rw-r--r-- | net/ruby-ldap/Makefile | 19 | ||||
-rw-r--r-- | net/ruby-ldap/distinfo | 2 | ||||
-rw-r--r-- | net/ruby-ldap/pkg-plist | 40 |
3 files changed, 47 insertions, 14 deletions
diff --git a/net/ruby-ldap/Makefile b/net/ruby-ldap/Makefile index b431d4f5c662..aa106f214450 100644 --- a/net/ruby-ldap/Makefile +++ b/net/ruby-ldap/Makefile @@ -6,7 +6,7 @@ # PORTNAME= ldap -PORTVERSION= 0.3 +PORTVERSION= 0.3.2 CATEGORIES= net ruby MASTER_SITES= http://kt-www.jaist.ac.jp:8000/~ttate/ftp/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -49,18 +49,25 @@ CONFIGURE_ARGS?= --with-netscape \ --with-ldap-dir="${LOCALBASE}/mozilla/directory" .endif +WRKSRC= ${WRKDIR}/ruby-${PORTNAME} INSTALL_TARGET= site-install DOCS_EN= README README.html -EXAMPLES_EN= test1.rb test2.rb test3.rb test4.rb \ - test5.rb test6.rb test7.rb + +post-extract: + find ${WRKSRC} -name CVS -type d | xargs ${RM} -r + ${CHMOD} 644 ${WRKSRC}/test/*.rb + +post-patch: + ${RM} ${WRKSRC}/test/test.sh.orig + ${RUBY} -i -pe 'gsub /!!PREFIX!!/, "${PREFIX}"' \ + -e 'gsub /!!RUBY!!/, "${RUBY}"' ${WRKSRC}/test/test.sh post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/ldap -.for f in ${EXAMPLES_EN} - ${INSTALL_DATA} ${WRKSRC}/test/${f} ${RUBY_EXAMPLESDIR}/ldap/ -.endfor + ${CP} -R ${WRKSRC}/test/* ${RUBY_EXAMPLESDIR}/ldap/ + ${LN} -s . ${RUBY_EXAMPLESDIR}/ldap/test ${MKDIR} ${RUBY_DOCDIR}/ldap .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/ldap/ diff --git a/net/ruby-ldap/distinfo b/net/ruby-ldap/distinfo index 613dc1c2a3a6..6843cbc46497 100644 --- a/net/ruby-ldap/distinfo +++ b/net/ruby-ldap/distinfo @@ -1 +1 @@ -MD5 (ruby/ruby-ldap-0.3.tar.gz) = b38ec2f8c2629f61714d43758543c616 +MD5 (ruby/ruby-ldap-0.3.2.tar.gz) = 84244e2cf3022d8563d08619bb405c70 diff --git a/net/ruby-ldap/pkg-plist b/net/ruby-ldap/pkg-plist index fcfcda349066..2f967ad3b627 100644 --- a/net/ruby-ldap/pkg-plist +++ b/net/ruby-ldap/pkg-plist @@ -1,11 +1,37 @@ %%RUBY_SITEARCHLIBDIR%%/ldap.so -%%RUBY_EXAMPLESDIR%%/ldap/test1.rb -%%RUBY_EXAMPLESDIR%%/ldap/test2.rb -%%RUBY_EXAMPLESDIR%%/ldap/test3.rb -%%RUBY_EXAMPLESDIR%%/ldap/test4.rb -%%RUBY_EXAMPLESDIR%%/ldap/test5.rb -%%RUBY_EXAMPLESDIR%%/ldap/test6.rb -%%RUBY_EXAMPLESDIR%%/ldap/test7.rb +%%RUBY_EXAMPLESDIR%%/ldap/add.rb +%%RUBY_EXAMPLESDIR%%/ldap/bind.rb +%%RUBY_EXAMPLESDIR%%/ldap/conf.rb +%%RUBY_EXAMPLESDIR%%/ldap/delete.rb +%%RUBY_EXAMPLESDIR%%/ldap/ldif/passwd.ldif +%%RUBY_EXAMPLESDIR%%/ldap/ldif/referrals.ldif +%%RUBY_EXAMPLESDIR%%/ldap/ldif/test1.ldif +%%RUBY_EXAMPLESDIR%%/ldap/modrdn.rb +%%RUBY_EXAMPLESDIR%%/ldap/openldap1/schema/slapd.at.conf +%%RUBY_EXAMPLESDIR%%/ldap/openldap1/schema/slapd.oc.conf +%%RUBY_EXAMPLESDIR%%/ldap/openldap1/slapd.conf +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema/corba.schema +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema/core.schema +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema/cosine.schema +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema/inetorgperson.schema +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema/java.schema +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema/krb5-kdc.schema +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema/misc.schema +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema/nadf.schema +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema/nis.schema +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema/openldap.schema +%%RUBY_EXAMPLESDIR%%/ldap/openldap2/slapd.conf +%%RUBY_EXAMPLESDIR%%/ldap/search.rb +%%RUBY_EXAMPLESDIR%%/ldap/search2.rb +%%RUBY_EXAMPLESDIR%%/ldap/search3.rb +%%RUBY_EXAMPLESDIR%%/ldap/test +%%RUBY_EXAMPLESDIR%%/ldap/test.sh +@unexec rm -f %D/%%RUBY_EXAMPLESDIR%%/ldap/test.log 2>/dev/null || true +@dirrm %%RUBY_EXAMPLESDIR%%/ldap/openldap2/schema +@dirrm %%RUBY_EXAMPLESDIR%%/ldap/openldap2 +@dirrm %%RUBY_EXAMPLESDIR%%/ldap/openldap1/schema +@dirrm %%RUBY_EXAMPLESDIR%%/ldap/openldap1 +@dirrm %%RUBY_EXAMPLESDIR%%/ldap/ldif @dirrm %%RUBY_EXAMPLESDIR%%/ldap %%RUBY_DOCDIR%%/ldap/README %%RUBY_DOCDIR%%/ldap/README.html |