svn commit: r422410 - in head/databases/ruby-bdb: . files
Steve Wills
swills at FreeBSD.org
Sun Sep 18 21:43:49 UTC 2016
Author: swills
Date: Sun Sep 18 21:43:47 2016
New Revision: 422410
URL: https://svnweb.freebsd.org/changeset/ports/422410
Log:
databases/ruby-bdb: fix rdoc parse issue
While here, fix a stage permission issue with the docs
Added:
head/databases/ruby-bdb/files/patch-docs_hashlike.rd (contents, props changed)
Modified:
head/databases/ruby-bdb/Makefile
Modified: head/databases/ruby-bdb/Makefile
==============================================================================
--- head/databases/ruby-bdb/Makefile Sun Sep 18 20:36:31 2016 (r422409)
+++ head/databases/ruby-bdb/Makefile Sun Sep 18 21:43:47 2016 (r422410)
@@ -3,7 +3,7 @@
PORTNAME= bdb
PORTVERSION= 0.6.6
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= databases ruby
MASTER_SITES= ftp://ftp.idaemons.org/pub/distfiles/ruby/ \
http://idaemons.org/distfiles/ruby/ \
@@ -30,6 +30,7 @@ INSTALL_TARGET= site-install
DOCS= Changes README.en bdb.rd docs/*.rd
DOCSDIR= ${RUBY_MODDOCDIR}
EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR}
+SHAREMODE= 0644
PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/bdb.so
PORTDOCS= *
PORTEXAMPLES= *
@@ -69,6 +70,9 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch
${FILESDIR}/extra-patch-src-cursor.c-22
.endif
+post-patch:
+ @${RM} ${WRKSRC}/docs/*.orig
+
post-build:
(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc)
Added: head/databases/ruby-bdb/files/patch-docs_hashlike.rd
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/ruby-bdb/files/patch-docs_hashlike.rd Sun Sep 18 21:43:47 2016 (r422410)
@@ -0,0 +1,26 @@
+--- docs/hashlike.rd.orig 2011-04-06 19:35:39 UTC
++++ docs/hashlike.rd
+@@ -342,7 +342,6 @@ These are the common methods for ((|BDB:
+ --- each(set = nil, bulk = 0, "flags" => 0) { |key, value| ... }
+ --- each_pair(set = nil, bulk = 0) { |key, value| ... }
+ Iterates over associations.
+-
+ ((<set>)) ((<bulk>))
+
+ --- each_by_prefix(prefix) {|key, value| ... }
+@@ -360,7 +359,6 @@ These are the common methods for ((|BDB:
+
+ --- each_key(set = nil, bulk = 0) { |key| ... }
+ Iterates over keys.
+-
+ ((<set>)) ((<bulk>))
+
+ --- each_primary(set = nil) { |skey, pkey, pvalue| ... }
+@@ -369,7 +367,6 @@ These are the common methods for ((|BDB:
+
+ --- each_value(set = nil, bulk = 0) { |value| ... }
+ Iterates over values.
+-
+ ((<set>)) ((<bulk>))
+
+ --- empty?()
More information about the svn-ports-head
mailing list