aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/chasen
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-02 15:02:00 +0800
committerknu <knu@FreeBSD.org>2001-03-02 15:02:00 +0800
commit178190ddd0fe9fbd604c4304d93135f79ddeb63e (patch)
tree1d67dd04e448e9a894b872f3365f65067ec33e80 /japanese/chasen
parent47a31d8e1fde4ccedb6263fca5339c2ce3bf3302 (diff)
downloadfreebsd-ports-gnome-178190ddd0fe9fbd604c4304d93135f79ddeb63e.tar.gz
freebsd-ports-gnome-178190ddd0fe9fbd604c4304d93135f79ddeb63e.tar.zst
freebsd-ports-gnome-178190ddd0fe9fbd604c4304d93135f79ddeb63e.zip
The Perl5 module portion has been moved to japanese/p5-Text-ChaSen.
Diffstat (limited to 'japanese/chasen')
-rw-r--r--japanese/chasen/Makefile12
-rw-r--r--japanese/chasen/files/patch-ae9
-rw-r--r--japanese/chasen/files/patch-af13
-rw-r--r--japanese/chasen/files/patch-ag11
-rw-r--r--japanese/chasen/pkg-plist8
5 files changed, 1 insertions, 52 deletions
diff --git a/japanese/chasen/Makefile b/japanese/chasen/Makefile
index d560ff14fb1e..33f7f1ef4f1c 100644
--- a/japanese/chasen/Makefile
+++ b/japanese/chasen/Makefile
@@ -8,18 +8,13 @@
PORTNAME= chasen
PORTVERSION= 2.02
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/lab/nlp/tools/chasen/
DISTNAME= ${PORTNAME}-sys${PORTVERSION}-ipadic2.1
MAINTAINER= knu@FreeBSD.org
-USE_PERL5= YES
-
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-MAN3= Text::ChaSen.3
-
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
INSTALLS_SHLIB= yes
@@ -32,13 +27,8 @@ post-patch:
post-build:
@${ECHO_MSG} "Making dictionaries"
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} dic
- @${ECHO_MSG} "Making perl5 module"
- @cd ${WRKSRC}/perl; \
- ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL; \
- ${SETENV} ${MAKE_ENV} ${MAKE}
post-install:
- @cd ${WRKSRC}/perl; ${SETENV} ${MAKE_ENV} ${MAKE} install
${MKDIR} ${PREFIX}/include/chasen
@cd ${WRKSRC}/lib; ${SETENV} ${MAKE_ENV} ${MAKE} install
.if !defined(NOPORTDOCS)
diff --git a/japanese/chasen/files/patch-ae b/japanese/chasen/files/patch-ae
deleted file mode 100644
index be4a1418c667..000000000000
--- a/japanese/chasen/files/patch-ae
+++ /dev/null
@@ -1,9 +0,0 @@
---- perl/Makefile.PL~ Wed Aug 18 15:58:18 1999
-+++ perl/Makefile.PL Sun Feb 27 00:19:08 2000
-@@ -3,5 +3,5 @@
- WriteMakefile(
- 'NAME' => 'Text::ChaSen',
- 'VERSION_FROM' => 'ChaSen.pm',
-- 'LIBS' => ['-lchasen']
-+ 'LIBS' => ['-L../lib -lchasen']
- );
diff --git a/japanese/chasen/files/patch-af b/japanese/chasen/files/patch-af
deleted file mode 100644
index 7b919327cfa1..000000000000
--- a/japanese/chasen/files/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
---- perl/ChaSen.pm Thu Aug 19 17:20:15 1999
-+++ perl/ChaSen.pm Sun Feb 27 02:05:45 2000
-@@ -11,8 +11,8 @@
-
- use Text::ChaSen;
-
-- $res = chasen::getopt_argv('chasen-perl', '-j', '-F', '%m ');
-- $str = chasen::sparse_tostr("日本語の文字列");
-+ $res = Text::ChaSen::getopt_argv('chasen-perl', '-j', '-F', '%m ');
-+ $str = Text::ChaSen::sparse_tostr("日本語の文字列");
-
- =head1 DESCRIPTION
-
diff --git a/japanese/chasen/files/patch-ag b/japanese/chasen/files/patch-ag
deleted file mode 100644
index efe058359ed3..000000000000
--- a/japanese/chasen/files/patch-ag
+++ /dev/null
@@ -1,11 +0,0 @@
---- perl/ChaSen.xs.orig Wed Aug 18 16:02:16 1999
-+++ perl/ChaSen.xs Tue Aug 1 18:16:03 2000
-@@ -12,6 +12,8 @@
- #include "EXTERN.h"
- #include "perl.h"
- #include "XSUB.h"
-+#define PERL_POLLUTE 1
-+#include "embedvar.h"
- #ifdef __cplusplus
- }
- #endif
diff --git a/japanese/chasen/pkg-plist b/japanese/chasen/pkg-plist
index ffdd87d26abb..9a7434979106 100644
--- a/japanese/chasen/pkg-plist
+++ b/japanese/chasen/pkg-plist
@@ -8,14 +8,6 @@ include/chasen/sufary.h
lib/libchasen.a
lib/libchasen.so
lib/libchasen.so.0
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text/ChaSen.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/ChaSen/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/ChaSen/ChaSen.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/ChaSen/ChaSen.so
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/ChaSen
-@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/ChaSen 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
share/chasen/dic/Makefile
share/chasen/dic/cforms.cha
share/chasen/dic/chadic.int