aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-rss.alt/Makefile19
-rw-r--r--textproc/ruby-rss.alt/distinfo6
-rw-r--r--textproc/ruby-rss.alt/pkg-plist11
3 files changed, 17 insertions, 19 deletions
diff --git a/textproc/ruby-rss.alt/Makefile b/textproc/ruby-rss.alt/Makefile
index 62bc98aaf0ea..1b38c026c77e 100644
--- a/textproc/ruby-rss.alt/Makefile
+++ b/textproc/ruby-rss.alt/Makefile
@@ -6,27 +6,24 @@
#
PORTNAME= rss
-PORTVERSION= 0.1.4
+PORTVERSION= 0.1.5
CATEGORIES= textproc ruby
MASTER_SITES= http://www.cozmixng.org/~kou/download/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
PKGNAMESUFFIX= .alt
DIST_SUBDIR= ruby
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= stas@FreeBSD.org
COMMENT= Ruby library for handling RSS (alternative impl.)
-RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
-# You can use ruby-xmlscan as an alternative XML parser to REXML:
-# ${RUBY_SITEARCHLIBDIR}/xmlparser.so:${PORTSDIR}/textproc/ruby-xmlparser
-# Or ruby-xmlparser:
-# ${RUBY_SITELIBDIR}/xmlscan/parser.rb:${PORTSDIR}/textproc/ruby-xmlscan
+RUN_DEPENDS= ${LOCALBASE}/${SADIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
CONFLICTS= ruby-rss-*
USE_RUBY= yes
USE_RUBY_SETUP= yes
USE_RUBY_FEATURES= rexml
+SADIR= lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}
DOCS_EN= README.en Tutorial.en
DOCS_JA= README.ja Tutorial.ja
@@ -34,12 +31,8 @@ DOCS_JA= README.ja Tutorial.ja
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
-.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.endfor
-.for f in ${DOCS_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
-.endfor
+ ${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
+ ${INSTALL_DATA} ${DOCS_JA:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/ja/
.endif
.include <bsd.port.mk>
diff --git a/textproc/ruby-rss.alt/distinfo b/textproc/ruby-rss.alt/distinfo
index 1d659e6c41c3..6165a2c95022 100644
--- a/textproc/ruby-rss.alt/distinfo
+++ b/textproc/ruby-rss.alt/distinfo
@@ -1,3 +1,3 @@
-MD5 (ruby/rss-0.1.4.tar.gz) = 86a64fba4e09e877f2919e70482fb554
-SHA256 (ruby/rss-0.1.4.tar.gz) = 48c60a6b3791a15eb936d9aa7f5593190af1e8f5b964d675dc749a363d3e748d
-SIZE (ruby/rss-0.1.4.tar.gz) = 128793
+MD5 (ruby/rss-0.1.5.tar.gz) = f507dcef984c018c314ad243828e665c
+SHA256 (ruby/rss-0.1.5.tar.gz) = 509429969228811a5652c35da96ed2ceb71f0f0a6a705d8ff568536ed65fcb33
+SIZE (ruby/rss-0.1.5.tar.gz) = 129275
diff --git a/textproc/ruby-rss.alt/pkg-plist b/textproc/ruby-rss.alt/pkg-plist
index fb8ec4d2a7ff..77291b3948a3 100644
--- a/textproc/ruby-rss.alt/pkg-plist
+++ b/textproc/ruby-rss.alt/pkg-plist
@@ -1,3 +1,4 @@
+%%RUBY_SITELIBDIR%%/rss.rb
%%RUBY_SITELIBDIR%%/rss/0.9.rb
%%RUBY_SITELIBDIR%%/rss/1.0.rb
%%RUBY_SITELIBDIR%%/rss/2.0.rb
@@ -26,12 +27,16 @@
%%RUBY_SITELIBDIR%%/rss/xml-stylesheet.rb
%%RUBY_SITELIBDIR%%/rss/xmlparser.rb
%%RUBY_SITELIBDIR%%/rss/xmlscanner.rb
-@dirrm %%RUBY_SITELIBDIR%%/rss/maker
-@dirrm %%RUBY_SITELIBDIR%%/rss/dublincore
-@dirrm %%RUBY_SITELIBDIR%%/rss
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Tutorial.en
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/Tutorial.ja
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
+%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%%
+@dirrm %%RUBY_SITELIBDIR%%/rss/maker
+@dirrm %%RUBY_SITELIBDIR%%/rss/dublincore
+@dirrm %%RUBY_SITELIBDIR%%/rss
+@dirrmtry %%RUBY_SITELIBDIR%%
+@dirrmtry lib/ruby/site_ruby
+@dirrmtry lib/ruby