1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

The Perl5 module portion has been moved to japanese/p5-Text-ChaSen.

This commit is contained in:
Akinori MUSHA 2001-03-02 07:02:00 +00:00
parent 6bcd1e4d5f
commit c62eb142d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38960
5 changed files with 1 additions and 52 deletions

View File

@ -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)

View File

@ -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']
);

View File

@ -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

View File

@ -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

View File

@ -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