summaryrefslogtreecommitdiff
path: root/japanese/ruby-usersguide/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ruby-usersguide/Makefile')
-rw-r--r--japanese/ruby-usersguide/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/japanese/ruby-usersguide/Makefile b/japanese/ruby-usersguide/Makefile
index ba42150681b2..560cbbbef44b 100644
--- a/japanese/ruby-usersguide/Makefile
+++ b/japanese/ruby-usersguide/Makefile
@@ -19,15 +19,16 @@ USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
RUBY_NO_RUN_DEPENDS= yes
+RUBY_MODNAME= ${PORTNAME}-jp
+
SHORTNAME= ${PORTNAME:S/usersguide/uguide/}
WRKSRC= ${WRKDIR}/${SHORTNAME}
NO_BUILD= yes
-DOCDIR= ${RUBY_DOCDIR}/${PORTNAME}-jp
do-install:
- ${MKDIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/* ${DOCDIR}
- ${LN} -fs uguide00.html ${DOCDIR}/index.html
+ ${MKDIR} ${RUBY_MODDOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/* ${RUBY_MODDOCDIR}
+ ${LN} -fs uguide00.html ${RUBY_MODDOCDIR}/index.html
.include <bsd.port.mk>