diff options
author | knu <knu@FreeBSD.org> | 2003-02-27 03:58:22 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-02-27 03:58:22 +0800 |
commit | 4b77951396876cfc1e5ed141a76847e6970e36be (patch) | |
tree | bdb959c61a9c2412f8e32b070df08f7b7f99fe16 | |
parent | cdcdda7d4e074d6098532ad54c99174f866008d1 (diff) | |
download | freebsd-ports-gnome-4b77951396876cfc1e5ed141a76847e6970e36be.tar.gz freebsd-ports-gnome-4b77951396876cfc1e5ed141a76847e6970e36be.tar.zst freebsd-ports-gnome-4b77951396876cfc1e5ed141a76847e6970e36be.zip |
Update to 0.0.3 and unbreak post-install.
-rw-r--r-- | lang/ruby-js/Makefile | 18 | ||||
-rw-r--r-- | lang/ruby-js/distinfo | 2 | ||||
-rw-r--r-- | lang/ruby-js/pkg-plist | 1 |
3 files changed, 15 insertions, 6 deletions
diff --git a/lang/ruby-js/Makefile b/lang/ruby-js/Makefile index 73b4c5124793..ad254a44b804 100644 --- a/lang/ruby-js/Makefile +++ b/lang/ruby-js/Makefile @@ -6,9 +6,9 @@ # PORTNAME= js -PORTVERSION= 0.0.2 +PORTVERSION= 0.0.3 CATEGORIES= lang ruby -MASTER_SITES= http://www.ruby-lang.org/~tamura/ruby/ +MASTER_SITES= http://www.ruby-lang.org/~tamura/ruby/ruby-js/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby @@ -21,9 +21,12 @@ LIB_DEPENDS= js.0:${PORTSDIR}/lang/njs USE_RUBY= yes USE_RUBY_EXTCONF= yes +WRKSRC= ${WRKDIR}/JS INSTALL_TARGET= site-install -EXAMPLES= html_ssi_lua.rb test_* +EXAMPLES= classtest.rb +DOCS_EN= README.rd +DOCS_JA= README.rd.ja post-install: .if !defined(NOPORTDOCS) @@ -31,8 +34,13 @@ post-install: .for f in ${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/ .endfor - ${MKDIR} ${RUBY_MODDOCDIR} - ${INSTALL_DATA} ${WRKSRC}/rubylua.txt ${RUBY_MODDOCDIR}/ + ${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 .endif .include <bsd.port.mk> diff --git a/lang/ruby-js/distinfo b/lang/ruby-js/distinfo index 2d9facace746..215ac2e7c480 100644 --- a/lang/ruby-js/distinfo +++ b/lang/ruby-js/distinfo @@ -1 +1 @@ -MD5 (ruby/rubyjs-0.0.2.tar.gz) = 29bdac303309ab5c85892da8e6b65a29 +MD5 (ruby/rubyjs-0.0.3.tar.gz) = 73b8f51e927221b76dfc431f7fae0d0d diff --git a/lang/ruby-js/pkg-plist b/lang/ruby-js/pkg-plist index 354bc12082ec..f9f03baf3aee 100644 --- a/lang/ruby-js/pkg-plist +++ b/lang/ruby-js/pkg-plist @@ -1,4 +1,5 @@ %%RUBY_SITEARCHLIBDIR%%/js.so +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.rd %%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.rd.ja %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |