summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5476bd3..8c57950 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 84f71de..370fd49 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 f4cdad6..0000000
--- 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 aedee96..33641e6 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
OpenPOWER on IntegriCloud