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/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/ruby-gettext/Makefile b/devel/ruby-gettext/Makefile
index b81cc6af290f..6e6748bc7398 100644
--- a/devel/ruby-gettext/Makefile
+++ b/devel/ruby-gettext/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gettext
-PORTVERSION= 0.2.0
+PORTVERSION= 0.2.1
CATEGORIES= devel ruby
MASTER_SITES= http://home2.highway.ne.jp/mutoh/tools/ruby/
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,9 +17,17 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
+.if !defined(NOPORTDOCS)
+USE_RUBY_RD= yes
+.endif
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
+post-build:
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC}/docs; ${RUBY} yard2html.rb
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}