aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-sablot
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-10-07 15:14:01 +0800
committerknu <knu@FreeBSD.org>2001-10-07 15:14:01 +0800
commit1082bc19373ec9dcc8d70e09ddc57abfe6b391ff (patch)
treef01542900e3c95468af1ab08bf94a5a28b9b6abf /textproc/ruby-sablot
parentd461907731e6005c128e938f47df52f413e0f7a3 (diff)
downloadfreebsd-ports-gnome-1082bc19373ec9dcc8d70e09ddc57abfe6b391ff.tar.gz
freebsd-ports-gnome-1082bc19373ec9dcc8d70e09ddc57abfe6b391ff.tar.zst
freebsd-ports-gnome-1082bc19373ec9dcc8d70e09ddc57abfe6b391ff.zip
Update to 0.5.2.
Diffstat (limited to 'textproc/ruby-sablot')
-rw-r--r--textproc/ruby-sablot/Makefile16
-rw-r--r--textproc/ruby-sablot/distinfo2
-rw-r--r--textproc/ruby-sablot/files/patch-aa17
-rw-r--r--textproc/ruby-sablot/pkg-plist4
4 files changed, 16 insertions, 23 deletions
diff --git a/textproc/ruby-sablot/Makefile b/textproc/ruby-sablot/Makefile
index 5476bd3c52cb..8c579500fbb3 100644
--- a/textproc/ruby-sablot/Makefile
+++ b/textproc/ruby-sablot/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= sablot
-PORTVERSION= 0.5.0
-PORTREVISION= 2
+PORTVERSION= 0.5.2
CATEGORIES= textproc ruby
MASTER_SITES= http://www.rubycolor.org/arc/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -27,16 +26,23 @@ CONFIGURE_ARGS= --with-sablot-lib="${LOCALBASE}" \
--with-expat="${LOCALBASE}"
INSTALL_TARGET= site-install
-DOCS= README doc/*
+DOCS_EN= README \
+ doc/sablot.html \
+ doc/sablot.rd
+DOCS_JA= doc/sablot_ja.html \
+ doc/sablot.rd.ja
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
- ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
-.for f in ${DOCS}
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/textproc/ruby-sablot/distinfo b/textproc/ruby-sablot/distinfo
index 84f71deff514..370fd495feb4 100644
--- a/textproc/ruby-sablot/distinfo
+++ b/textproc/ruby-sablot/distinfo
@@ -1 +1 @@
-MD5 (ruby/sablot-0.5.0.tar.gz) = c9f811d68e15b104fc6af72691f280d5
+MD5 (ruby/sablot-0.5.2.tar.gz) = 2613b1ddac7f646c1a20c0f69f2c8863
diff --git a/textproc/ruby-sablot/files/patch-aa b/textproc/ruby-sablot/files/patch-aa
deleted file mode 100644
index f4cdad60fee5..000000000000
--- a/textproc/ruby-sablot/files/patch-aa
+++ /dev/null
@@ -1,17 +0,0 @@
---- extconf.rb.orig Sun Jun 24 07:01:40 2001
-+++ extconf.rb Thu Aug 30 12:39:31 2001
-@@ -15,10 +15,10 @@
- end
-
- if have_header("sablot.h") and
-- (have_library("xmltok", "XmlParseXmlDecl") or
-- have_library("expat", "XmlParseXmlDecl")) and
-- (have_library("xmlparse", "XML_ParserCreate") or
-- have_library("expat", "XML_ParserCreate")) and
-+ (have_library("expat", "XmlParseXmlDecl") or
-+ have_library("xmltok", "XmlParseXmlDecl")) and
-+ (have_library("expat", "XML_ParserCreate") or
-+ have_library("xmlparse", "XML_ParserCreate")) and
- have_library("sablot", "SablotProcessStrings")
- create_makefile("sablot")
- STDERR.print <<EOB
diff --git a/textproc/ruby-sablot/pkg-plist b/textproc/ruby-sablot/pkg-plist
index aedee96ad47b..33641e6f3c2a 100644
--- a/textproc/ruby-sablot/pkg-plist
+++ b/textproc/ruby-sablot/pkg-plist
@@ -20,6 +20,7 @@
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/handler/sample.xsl
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/handler/sample_err.xsl
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/handler/sample_mh.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/sample.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/sablot/basic
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/sablot/encoding
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/sablot/handler
@@ -27,4 +28,7 @@
%%PORTDOCS%%%%RUBY_DOCDIR%%/sablot/README
%%PORTDOCS%%%%RUBY_DOCDIR%%/sablot/sablot.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/sablot/sablot.rd
+%%PORTDOCS%%%%RUBY_DOCDIR%%/sablot/ja/sablot.rd.ja
+%%PORTDOCS%%%%RUBY_DOCDIR%%/sablot/ja/sablot_ja.html
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/sablot/ja
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/sablot