mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 0.8.1 and unbreak
Approved by: maintainer timeout (25 days)
This commit is contained in:
parent
6acd6844db
commit
a1a31f7c07
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141893
5 changed files with 20 additions and 46 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
11
textproc/ruby-xslt/files/patch-extfunc.h
Normal file
11
textproc/ruby-xslt/files/patch-extfunc.h
Normal file
|
@ -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 );
|
|
@ -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/
|
||||
|
|
|
@ -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%%
|
||||
|
|
Loading…
Add table
Reference in a new issue