aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-xslt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-04 12:20:19 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-04 12:20:19 +0000
commita1a31f7c07135f68f7f88a2e91769d5e4757390b (patch)
treebcc6843b73060915f6761999cf8359564b8d82d1 /textproc/ruby-xslt
parent6acd6844db613b90a089b40cc1c882d4bceaf35b (diff)
downloadports-a1a31f7c07135f68f7f88a2e91769d5e4757390b.tar.gz
ports-a1a31f7c07135f68f7f88a2e91769d5e4757390b.zip
Notes
Diffstat (limited to 'textproc/ruby-xslt')
-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 10bd5e450583..a0136da3300f 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 085714cf3e6b..741cb64cd56e 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 000000000000..30400f6986ee
--- /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 23ede8bccecf..d82432c68b33 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 ce114373554a..526f0a3874be 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%%