aboutsummaryrefslogtreecommitdiff
path: root/japanese/ruby-usersguide
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-10-06 21:38:34 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-10-06 21:38:34 +0000
commitea4cef3e92ac13bcebe1a8e78d11f87fe0448e65 (patch)
tree7cf7ce4014512a9ca41326c0a67d6a7a84dd9427 /japanese/ruby-usersguide
parent939fd373f064e87b5979518b77a5dbcff3ebe4dd (diff)
downloadports-ea4cef3e92ac13bcebe1a8e78d11f87fe0448e65.tar.gz
ports-ea4cef3e92ac13bcebe1a8e78d11f87fe0448e65.zip
Notes
Diffstat (limited to 'japanese/ruby-usersguide')
-rw-r--r--japanese/ruby-usersguide/Makefile9
-rw-r--r--japanese/ruby-usersguide/pkg-plist56
2 files changed, 33 insertions, 32 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>
diff --git a/japanese/ruby-usersguide/pkg-plist b/japanese/ruby-usersguide/pkg-plist
index 92d59a761709..fd491a2605bf 100644
--- a/japanese/ruby-usersguide/pkg-plist
+++ b/japanese/ruby-usersguide/pkg-plist
@@ -1,29 +1,29 @@
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/index.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide00.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide01.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide02.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide03.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide04.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide05.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide06.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide07.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide08.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide09.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide10.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide11.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide12.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide13.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide14.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide15.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide16.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide17.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide18.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide19.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide20.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide21.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide22.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide23.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide24.html
-%%RUBY_DOCDIR%%/ruby-usersguide-jp/uguide25.html
-@dirrm %%RUBY_DOCDIR%%/ruby-usersguide-jp
+%%RUBY_MODDOCDIR%%/index.html
+%%RUBY_MODDOCDIR%%/uguide00.html
+%%RUBY_MODDOCDIR%%/uguide01.html
+%%RUBY_MODDOCDIR%%/uguide02.html
+%%RUBY_MODDOCDIR%%/uguide03.html
+%%RUBY_MODDOCDIR%%/uguide04.html
+%%RUBY_MODDOCDIR%%/uguide05.html
+%%RUBY_MODDOCDIR%%/uguide06.html
+%%RUBY_MODDOCDIR%%/uguide07.html
+%%RUBY_MODDOCDIR%%/uguide08.html
+%%RUBY_MODDOCDIR%%/uguide09.html
+%%RUBY_MODDOCDIR%%/uguide10.html
+%%RUBY_MODDOCDIR%%/uguide11.html
+%%RUBY_MODDOCDIR%%/uguide12.html
+%%RUBY_MODDOCDIR%%/uguide13.html
+%%RUBY_MODDOCDIR%%/uguide14.html
+%%RUBY_MODDOCDIR%%/uguide15.html
+%%RUBY_MODDOCDIR%%/uguide16.html
+%%RUBY_MODDOCDIR%%/uguide17.html
+%%RUBY_MODDOCDIR%%/uguide18.html
+%%RUBY_MODDOCDIR%%/uguide19.html
+%%RUBY_MODDOCDIR%%/uguide20.html
+%%RUBY_MODDOCDIR%%/uguide21.html
+%%RUBY_MODDOCDIR%%/uguide22.html
+%%RUBY_MODDOCDIR%%/uguide23.html
+%%RUBY_MODDOCDIR%%/uguide24.html
+%%RUBY_MODDOCDIR%%/uguide25.html
+@dirrm %%RUBY_MODDOCDIR%%
@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true