summaryrefslogtreecommitdiff
path: root/x11/ruby-gnome2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/ruby-gnome2/Makefile')
-rw-r--r--x11/ruby-gnome2/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/x11/ruby-gnome2/Makefile b/x11/ruby-gnome2/Makefile
index f98ffa4fe2c7..ecc1821115ca 100644
--- a/x11/ruby-gnome2/Makefile
+++ b/x11/ruby-gnome2/Makefile
@@ -7,9 +7,9 @@
PORTNAME= gnome
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
-PORTREVISION= 1
CATEGORIES= x11 ruby
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby
@@ -31,25 +31,22 @@ CONFIGURE_ARGS= ${GNOME_CONFIG}
INSTALL_TARGET= site-install
DOCS_EN= ChangeLog \
- ENVIRONMENT \
- README
-DOCS_JA= README.ja
+ NEWS \
+ README \
+ ToDo
post-extract:
${MKDIR} ${WRKSRC}/sample/browser
- ${MV} ${WRKSRC}/doc/rbbr.rb ${WRKSRC}/sample/browser
+ ${MV} ${WRKSRC}/doc/*.rb ${WRKSRC}/sample/browser
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
- ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.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>