aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-02-07 19:11:03 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-02-07 19:11:03 +0000
commit29e7b5e5c186e697671d7a6824e455f064bf972c (patch)
tree772794ff36b61d4866e1693d188c661345240941 /japanese
parent93277a0513f19bd80f3564cd9975b06486fd2dbc (diff)
downloadports-29e7b5e5c186e697671d7a6824e455f064bf972c.tar.gz
ports-29e7b5e5c186e697671d7a6824e455f064bf972c.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ruby-usersguide/Makefile28
-rw-r--r--japanese/ruby-usersguide/pkg-plist56
2 files changed, 46 insertions, 38 deletions
diff --git a/japanese/ruby-usersguide/Makefile b/japanese/ruby-usersguide/Makefile
index a597c126979f..ba42150681b2 100644
--- a/japanese/ruby-usersguide/Makefile
+++ b/japanese/ruby-usersguide/Makefile
@@ -5,21 +5,29 @@
# $FreeBSD$
#
-MASTERDIR= ${.CURDIR}/../../lang/ruby-usersguide
-
+PORTNAME= ruby-usersguide
+PORTVERSION= 980206
+CATEGORIES= japanese lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR= doc
-DISTNAME= ${SHORTNAME}-${VERSION}
-
-CATEGORIES= japanese
+DISTNAME= ${SHORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-VERSION= 980206
+USE_RUBY= yes
+RUBY_NO_BUILD_DEPENDS= yes
+RUBY_NO_RUN_DEPENDS= yes
+
+SHORTNAME= ${PORTNAME:S/usersguide/uguide/}
-MD5_FILE= ${.CURDIR}/distinfo
-PKGDIR= ${.CURDIR}
+WRKSRC= ${WRKDIR}/${SHORTNAME}
+NO_BUILD= yes
+DOCDIR= ${RUBY_DOCDIR}/${PORTNAME}-jp
-LANGSUFFIX= -jp
+do-install:
+ ${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/* ${DOCDIR}
+ ${LN} -fs uguide00.html ${DOCDIR}/index.html
-.include "${MASTERDIR}/Makefile"
+.include <bsd.port.mk>
diff --git a/japanese/ruby-usersguide/pkg-plist b/japanese/ruby-usersguide/pkg-plist
index a651efd7cc4f..92d59a761709 100644
--- a/japanese/ruby-usersguide/pkg-plist
+++ b/japanese/ruby-usersguide/pkg-plist
@@ -1,29 +1,29 @@
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/index.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide00.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide01.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide02.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide03.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide04.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide05.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide06.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide07.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide08.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide09.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide10.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide11.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide12.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide13.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide14.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide15.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide16.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide17.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide18.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide19.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide20.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide21.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide22.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide23.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide24.html
-%%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%/uguide25.html
-@dirrm %%RUBY_DOCDIR%%/ruby-usersguide%%LANGSUFFIX%%
+%%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
@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true