summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-09-04 12:20:19 +0000
committerpav <pav@FreeBSD.org>2005-09-04 12:20:19 +0000
commitb3f1f22cb5ab5497d023bd3661079fd49a020b60 (patch)
tree6bf660e46cf3049feaf17d8ace110fa88b075381 /textproc
parenta1938fb1bdcfaca312313dfdf359a8b03ad8c845 (diff)
downloadFreeBSD-ports-b3f1f22cb5ab5497d023bd3661079fd49a020b60.zip
FreeBSD-ports-b3f1f22cb5ab5497d023bd3661079fd49a020b60.tar.gz
- Update to 0.8.1 and unbreak
Approved by: maintainer timeout (25 days)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-xslt/Makefile22
-rw-r--r--textproc/ruby-xslt/distinfo4
-rw-r--r--textproc/ruby-xslt/files/patch-extfunc.h11
-rw-r--r--textproc/ruby-xslt/pkg-descr2
-rw-r--r--textproc/ruby-xslt/pkg-plist27
5 files changed, 20 insertions, 46 deletions
diff --git a/textproc/ruby-xslt/Makefile b/textproc/ruby-xslt/Makefile
index 10bd5e4..a0136da 100644
--- a/textproc/ruby-xslt/Makefile
+++ b/textproc/ruby-xslt/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= xslt
-PORTVERSION= 0.3.0
+PORTVERSION= 0.8.1
CATEGORIES= textproc ruby
-MASTER_SITES= http://www.webtime-project.net/ruby-xslt/
+MASTER_SITES= http://gregoire.lejeune.free.fr/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}_${PORTVERSION}
DIST_SUBDIR= ruby
@@ -16,28 +16,16 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= An XSLT processor in pure Ruby
-LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
- xslt.2:${PORTSDIR}/textproc/libxslt
-
+USE_GNOME= libxslt
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
-DOCS= AUTHORS README docs/*.rd doc
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Configure fails on FreeBSD >= 5.x"
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS}
- ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/ruby-xslt/distinfo b/textproc/ruby-xslt/distinfo
index 085714c..741cb64 100644
--- a/textproc/ruby-xslt/distinfo
+++ b/textproc/ruby-xslt/distinfo
@@ -1,2 +1,2 @@
-MD5 (ruby/ruby-xslt_0.3.0.tar.gz) = d477d012feb9c3a01a4525a8b8f7950f
-SIZE (ruby/ruby-xslt_0.3.0.tar.gz) = 23124
+MD5 (ruby/ruby-xslt_0.8.1.tar.gz) = 28cc6a296564178c890ae202ba9aaccf
+SIZE (ruby/ruby-xslt_0.8.1.tar.gz) = 21189
diff --git a/textproc/ruby-xslt/files/patch-extfunc.h b/textproc/ruby-xslt/files/patch-extfunc.h
new file mode 100644
index 0000000..30400f6
--- /dev/null
+++ b/textproc/ruby-xslt/files/patch-extfunc.h
@@ -0,0 +1,11 @@
+--- extfunc.h.orig Mon Mar 28 21:48:01 2005
++++ extfunc.h Tue Aug 9 17:04:58 2005
+@@ -21,7 +21,7 @@
+ /* this stores function names and the ids of the objects they belong to, indexed by name and namespace */
+ static xmlHashTablePtr pExtFunctionsHashTable = NULL;
+
+-void deallocateCallback( void *, xmlChar * ATTRIBUTE_UNUSED );
++void deallocateCallback( void *payload, xmlChar *name ATTRIBUTE_UNUSED );
+ VALUE xpathObj2value( xmlXPathObjectPtr, xmlDocPtr );
+ xmlXPathObjectPtr value2xpathObj( VALUE );
+ void xmlXPathFuncCallback( xmlXPathParserContextPtr, int );
diff --git a/textproc/ruby-xslt/pkg-descr b/textproc/ruby-xslt/pkg-descr
index 23ede8b..d82432c 100644
--- a/textproc/ruby-xslt/pkg-descr
+++ b/textproc/ruby-xslt/pkg-descr
@@ -1,4 +1,4 @@
This is a Ruby class for processing XSLT.
Author: Gregoire Lejeune <glejeune.lejeune@free.fr>
-WWW: http://www.webtime-project.net/ruby-xslt/
+WWW: http://raa.ruby-lang.org/project/ruby-xslt/
diff --git a/textproc/ruby-xslt/pkg-plist b/textproc/ruby-xslt/pkg-plist
index ce11437..526f0a3 100644
--- a/textproc/ruby-xslt/pkg-plist
+++ b/textproc/ruby-xslt/pkg-plist
@@ -1,29 +1,4 @@
%%RUBY_SITEARCHLIBDIR%%/xml/xslt.so
-@unexec /bin/rmdir %%RUBY_SITEARCHLIBDIR%%/xml 2>/dev/null || true
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS
+@unexec /bin/rmdir %D/%%RUBY_SITEARCHLIBDIR%%/xml 2>/dev/null || true
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/xslt.en.rd
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.src/M000001.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.src/M000002.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.src/M000003.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.src/M000004.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.src/M000005.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.src/M000006.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.src/M000007.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.src/M000008.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.src/M000009.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/created.rid
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/files/xslt_c.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_class_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_file_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_method_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/rdoc-style.css
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/files
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/XML/XSLT.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/XML
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
OpenPOWER on IntegriCloud