aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/p5-Text-Kakasi/Makefile26
-rw-r--r--japanese/p5-Text-Kakasi/distinfo1
-rw-r--r--japanese/p5-Text-Kakasi/files/patch-aa12
-rw-r--r--japanese/p5-Text-Kakasi/pkg-comment1
-rw-r--r--japanese/p5-Text-Kakasi/pkg-descr7
-rw-r--r--japanese/p5-Text-Kakasi/pkg-plist7
6 files changed, 54 insertions, 0 deletions
diff --git a/japanese/p5-Text-Kakasi/Makefile b/japanese/p5-Text-Kakasi/Makefile
new file mode 100644
index 000000000000..e8e195f62742
--- /dev/null
+++ b/japanese/p5-Text-Kakasi/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-kakasi
+# Version required: 1.01
+# Date created: 25 February 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= Text-Kakasi-1.01
+PKGNAME= ja-p5-Text-Kakasi-1.01
+CATEGORIES= japanese perl5
+MASTER_SITES= http://www.daionet.gr.jp/~knok/kakasi/
+
+MAINTAINER= knu@idaemons.org
+
+LIB_DEPENDS= kakasi.2:${PORTSDIR}/japanese/kakasi
+
+USE_PERL5= YES
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Text::Kakasi.3
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/japanese/p5-Text-Kakasi/distinfo b/japanese/p5-Text-Kakasi/distinfo
new file mode 100644
index 000000000000..d22e186e6ba2
--- /dev/null
+++ b/japanese/p5-Text-Kakasi/distinfo
@@ -0,0 +1 @@
+MD5 (Text-Kakasi-1.01.tar.gz) = e8b2d02314eb734cf925d5364d22009f
diff --git a/japanese/p5-Text-Kakasi/files/patch-aa b/japanese/p5-Text-Kakasi/files/patch-aa
new file mode 100644
index 000000000000..945120982715
--- /dev/null
+++ b/japanese/p5-Text-Kakasi/files/patch-aa
@@ -0,0 +1,12 @@
+--- Makefile.PL~ Wed Sep 29 15:55:02 1999
++++ Makefile.PL Fri Feb 25 03:21:31 2000
+@@ -3,7 +3,7 @@
+ WriteMakefile(
+ 'NAME' => 'Text::Kakasi',
+ 'VERSION_FROM' => 'Kakasi.pm',
+- 'INC' => '-I/usr/local/include',
+- 'LIBS' => ['-L/usr/local/lib -lkakasi'],
++ 'INC' => "-I$ENV{PREFIX}/include",
++ 'LIBS' => ["-L$ENV{PREFIX}/lib -lkakasi"],
+ 'DEFINE' => '-DWAKATIGAKI',
+ );
diff --git a/japanese/p5-Text-Kakasi/pkg-comment b/japanese/p5-Text-Kakasi/pkg-comment
new file mode 100644
index 000000000000..64b4628860d1
--- /dev/null
+++ b/japanese/p5-Text-Kakasi/pkg-comment
@@ -0,0 +1 @@
+Kakasi library module for Perl5
diff --git a/japanese/p5-Text-Kakasi/pkg-descr b/japanese/p5-Text-Kakasi/pkg-descr
new file mode 100644
index 000000000000..05f7db11cd34
--- /dev/null
+++ b/japanese/p5-Text-Kakasi/pkg-descr
@@ -0,0 +1,7 @@
+This is the Kakasi library module for Perl5.
+
+WWW: http://www.daionet.gr.jp/~knok/kakasi/
+
+Use jman to read the manpage written in Japanese.
+
+ % jman 3 Text::Kakasi
diff --git a/japanese/p5-Text-Kakasi/pkg-plist b/japanese/p5-Text-Kakasi/pkg-plist
new file mode 100644
index 000000000000..3aecdad8727e
--- /dev/null
+++ b/japanese/p5-Text-Kakasi/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text/Kakasi.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Kakasi/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Kakasi/Kakasi.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Kakasi/Kakasi.so
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Kakasi
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Kakasi 2>/dev/null || true