aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-gettext/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-gettext/Makefile')
-rw-r--r--devel/ruby-gettext/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/devel/ruby-gettext/Makefile b/devel/ruby-gettext/Makefile
index 6576800a04b9..aecfe0616a0a 100644
--- a/devel/ruby-gettext/Makefile
+++ b/devel/ruby-gettext/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gettext
-PORTVERSION= 0.3.2
+PORTVERSION= 0.4.0
CATEGORIES= devel ruby
MASTER_SITES= http://home2.highway.ne.jp/mutoh/tools/ruby/
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,16 +17,17 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
-#.if !defined(NOPORTDOCS)
-#USE_RUBY_RD= yes
-#.endif
+USE_RUBY_RD= yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
-#post-build:
-#.if !defined(NOPORTDOCS)
-# cd ${WRKSRC}/docs; ${RUBY} yard2html.rb
-#.endif
+RUBY_SHEBANG_FILES= ${WRKSRC}/samples/*.rb
+
+post-build:
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC}/docs; ${RUBY} makehtml.rb
+ cd ${WRKSRC}/samples; ${RUBY} makemo.rb
+.endif
post-install:
.if !defined(NOPORTDOCS)