MeCab packages were imported into pkgsrc/textproc.

This commit is contained in:
OBATA Akio 2007-05-12 14:13:07 +00:00 committed by Thomas Klausner
parent bebdfacda2
commit 7ae1dcb920
36 changed files with 1 additions and 363 deletions

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2585 2007/05/12 07:06:50 ghen Exp $
# $Id: Makefile,v 1.2586 2007/05/12 14:13:09 obache Exp $
#
COMMENT= WIP pkgsrc packages
@ -626,7 +626,6 @@ SUBDIR+= java-gnujaf
SUBDIR+= java-gnujaxp
SUBDIR+= java-jbluez
SUBDIR+= java-jep
SUBDIR+= java-mecab
SUBDIR+= java-muse
SUBDIR+= java-swingwt
SUBDIR+= java-swt
@ -800,10 +799,6 @@ SUBDIR+= mcats-iodbc
SUBDIR+= mdadm
SUBDIR+= mdbtools
SUBDIR+= meanwhile
SUBDIR+= mecab
SUBDIR+= mecab-base
SUBDIR+= mecab-ipadic
SUBDIR+= mecab-jumandic
SUBDIR+= mednafen
SUBDIR+= memdump
SUBDIR+= memgrep
@ -1178,7 +1173,6 @@ SUBDIR+= p5-Unicode-Map
SUBDIR+= p5-Unicode-MapUTF8
SUBDIR+= p5-WebService-CIA
SUBDIR+= p5-XML-DOM-XPath
SUBDIR+= p5-mecab
SUBDIR+= p5-podlators
SUBDIR+= pal
SUBDIR+= palm-db-tools
@ -1326,7 +1320,6 @@ SUBDIR+= py-kaa-imlib2
SUBDIR+= py-kaa-metadata
SUBDIR+= py-kyra
SUBDIR+= py-libtunepimp
SUBDIR+= py-mecab
SUBDIR+= py-mysqldb-docs
SUBDIR+= py-oak
SUBDIR+= py-orm
@ -1416,7 +1409,6 @@ SUBDIR+= rsyslog
SUBDIR+= rte
SUBDIR+= ruby-GalleryAdministrator
SUBDIR+= ruby-ldap
SUBDIR+= ruby-mecab
SUBDIR+= runit
SUBDIR+= samhain
SUBDIR+= sara

View file

@ -1 +0,0 @@
MeCab java module

View file

@ -1,22 +0,0 @@
# $NetBSD: Makefile,v 1.10 2007/05/09 13:21:09 obache Exp $
#
.include "../../wip/mecab/Makefile.common"
DISTNAME= mecab-java-${MECAB_VERSION}
PKGNAME= java-mecab-${MECAB_VERSION}
CATEGORIES+= java
COMMENT= MeCab java module
USE_LANGUAGES= c++
TEST_TARGET= test
do-install:
${INSTALL_LIB} ${WRKSRC:Q}/libMeCab.so ${PREFIX:Q}/lib
${INSTALL_LIB} ${WRKSRC:Q}/MeCab.jar ${PREFIX:Q}/lib
.include "../../wip/mecab/buildlink3.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,3 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/19 13:59:50 obache Exp $
lib/MeCab.jar
lib/libMeCab.so

View file

@ -1,6 +0,0 @@
$NetBSD: distinfo,v 1.7 2007/05/11 11:03:22 obache Exp $
SHA1 (mecab-java-0.95.tar.gz) = 76cb1639486cbcdbfadb2f206a0097e501fc92b8
RMD160 (mecab-java-0.95.tar.gz) = 604b7e1ffaeda47bc3f281d61af94f02915bdee3
Size (mecab-java-0.95.tar.gz) = 11444 bytes
SHA1 (patch-aa) = 28cc3dffacefb67acde561547055ffd1fe165696

View file

@ -1,28 +0,0 @@
$NetBSD: patch-aa,v 1.4 2007/05/11 11:03:22 obache Exp $
--- Makefile.orig 2007-03-12 00:44:08.000000000 +0900
+++ Makefile
@@ -2,19 +2,17 @@ TARGET=MeCab
JAVAC=javac
JAVA=java
JAR=jar
-CXX=c++
-INCLUDE=/usr/local/jdk/include
PACKAGE=org/chasen/mecab
LIBS=`mecab-config --libs`
-INC=`mecab-config --cflags` -I$(INCLUDE) -I$(INCLUDE)/linux
+INC=`mecab-config --cflags`
all:
- $(CXX) -O3 -c -fpic $(TARGET)_wrap.cxx $(INC)
- $(CXX) -shared $(TARGET)_wrap.o -o lib$(TARGET).so $(LIBS)
+ $(CXX) $(CXXFLAGS) -c -fpic $(TARGET)_wrap.cxx $(INC)
+ $(CXX) $(LDFLAGS) -shared $(TARGET)_wrap.o -o lib$(TARGET).so $(LIBS)
$(JAVAC) $(PACKAGE)/*.java
- $(JAVAC) test.java
+ $(JAVAC) -encoding EUC_JP test.java
$(JAR) cfv $(TARGET).jar $(PACKAGE)/*.class
test:

View file

@ -1 +0,0 @@
Yet Another Part-of-Speech and Morphological Analyzer

View file

@ -1,40 +0,0 @@
# $NetBSD: Makefile,v 1.11 2007/05/09 13:21:10 obache Exp $
#
.include "../../wip/mecab/Makefile.common"
DISTNAME= mecab-${MECAB_VERSION}
PKGNAME= mecab-base-${MECAB_VERSION}
COMMENT= Yet Another Part-of-Speech and Morphological Analyzer
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
OWN_DIRS= ${PREFIX:Q}/lib/mecab/dic
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
USE_TOOLS+= gmake
.endif
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
TEST_TARGET= check
EGDIR= ${PREFIX}/share/examples/mecab
CONF_FILES= ${EGDIR:Q}/mecabrc ${PKG_SYSCONFDIR:Q}/mecabrc
SUBST_CLASSES+= confdir
SUBST_STAGE.confdir= pre-configure
SUBST_FILES.confdir= Makefile.in
SUBST_SED.confdir= -e "s,\$$(sysconfdir),${EGDIR},"
SUBST_CLASSES+= rpaths
SUBST_STAGE.rpaths= pre-configure
SUBST_FILES.rpaths= mecab-config.in
SUBST_SED.rpaths= -e '/echo[ ]*-L/s|-L\([ ]*[^ ]*\)|${COMPILER_RPATH_FLAG}\1 -L\1|g'
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,13 +0,0 @@
@comment $NetBSD: PLIST,v 1.3 2007/03/12 14:10:29 obache Exp $
bin/mecab
bin/mecab-config
include/mecab.h
lib/libmecab.la
libexec/mecab/mecab-cost-train
libexec/mecab/mecab-dict-gen
libexec/mecab/mecab-dict-index
libexec/mecab/mecab-system-eval
libexec/mecab/mecab-test-gen
man/man1/mecab.1
share/examples/mecab/mecabrc
@dirrm libexec/mecab

View file

@ -1,23 +0,0 @@
# $NetBSD: buildlink3.mk,v 1.4 2007/05/09 13:21:10 obache Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MECAB_BASE_BUILDLINK3_MK:= ${MECAB_BASE_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= mecab-base
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmecab-base}
BUILDLINK_PACKAGES+= mecab-base
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mecab-base
.if ${MECAB_BASE_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.mecab-base+= mecab-base>=0.90
BUILDLINK_PKGSRCDIR.mecab-base?= ../../wip/mecab-base
BUILDLINK_FILES.mecab-base+= include/mecab.h
BUILDLINK_FILES.mecab-base+= lib/libmecab.*
.endif # MECAB_BASE_BUILDLINK3_MK
.include "../../mk/pthread.buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}

View file

@ -1,5 +0,0 @@
$NetBSD: distinfo,v 1.7 2007/03/12 14:10:29 obache Exp $
SHA1 (mecab-0.95.tar.gz) = 676af69b652393e3fdbb58ddf99b9aae13a87c4a
RMD160 (mecab-0.95.tar.gz) = bd8393ddae802fc98a999dd68f25564e8317f5c0
Size (mecab-0.95.tar.gz) = 1385805 bytes

View file

@ -1 +0,0 @@
Japanese Morphological Dictionary for MeCab.

View file

@ -1,14 +0,0 @@
# $NetBSD: Makefile,v 1.6 2007/05/09 13:21:10 obache Exp $
#
.include "../../wip/mecab/Makefile.common"
DISTNAME= mecab-ipadic-2.7.0-20060707
PKGNAME= mecab-ipadic-2.7.0.20060707
COMMENT= Japanese Morphological Dictionary for MeCab
GNU_CONFIGURE= yes
.include "../../wip/mecab-base/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,11 +0,0 @@
@comment $NetBSD: PLIST,v 1.2 2006/07/10 05:30:49 obache Exp $
lib/mecab/dic/ipadic/char.bin
lib/mecab/dic/ipadic/dicrc
lib/mecab/dic/ipadic/left-id.def
lib/mecab/dic/ipadic/matrix.bin
lib/mecab/dic/ipadic/pos-id.def
lib/mecab/dic/ipadic/rewrite.def
lib/mecab/dic/ipadic/right-id.def
lib/mecab/dic/ipadic/sys.dic
lib/mecab/dic/ipadic/unk.dic
@dirrm lib/mecab/dic/ipadic

View file

@ -1,5 +0,0 @@
$NetBSD: distinfo,v 1.3 2006/07/10 05:30:49 obache Exp $
SHA1 (mecab-ipadic-2.7.0-20060707.tar.gz) = 373be900f9be22957636acc54f120fea013f8818
RMD160 (mecab-ipadic-2.7.0-20060707.tar.gz) = cf2f7ad97e50cae6d0a9e9f13bc9328aeab33304
Size (mecab-ipadic-2.7.0-20060707.tar.gz) = 12025605 bytes

View file

@ -1 +0,0 @@
Japanese Morphological Dictionary for MeCab.

View file

@ -1,16 +0,0 @@
# $NetBSD: Makefile,v 1.5 2007/05/09 13:21:10 obache Exp $
#
.include "../../wip/mecab/Makefile.common"
DISTNAME= mecab-jumandic-5.1-20070304
PKGNAME= mecab-jumandic-5.1.20070304
COMMENT= Japanese Morphological Dictionary for MeCab
GNU_CONFIGURE= yes
UNLIMIT_RESOURCES= datasize
.include "../../wip/mecab-base/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,11 +0,0 @@
@comment $NetBSD: PLIST,v 1.2 2007/03/12 14:10:29 obache Exp $
lib/mecab/dic/jumandic/char.bin
lib/mecab/dic/jumandic/dicrc
lib/mecab/dic/jumandic/left-id.def
lib/mecab/dic/jumandic/matrix.bin
lib/mecab/dic/jumandic/pos-id.def
lib/mecab/dic/jumandic/rewrite.def
lib/mecab/dic/jumandic/right-id.def
lib/mecab/dic/jumandic/sys.dic
lib/mecab/dic/jumandic/unk.dic
@dirrm lib/mecab/dic/jumandic

View file

@ -1,5 +0,0 @@
$NetBSD: distinfo,v 1.2 2007/03/12 14:10:29 obache Exp $
SHA1 (mecab-jumandic-5.1-20070304.tar.gz) = 0672cb267b8fde6268a69d57add7ab1544e62154
RMD160 (mecab-jumandic-5.1-20070304.tar.gz) = b062285c01b81f497f2f0d9a968917142c269825
Size (mecab-jumandic-5.1-20070304.tar.gz) = 13115651 bytes

View file

@ -1 +0,0 @@
Yet Another Part-of-Speech and Morphological Analyzer

View file

@ -1,19 +0,0 @@
# $NetBSD: Makefile,v 1.4 2007/05/09 13:21:09 obache Exp $
.include "Makefile.common"
DISTNAME= mecab-${MECAB_VERSION}
DISTFILES= #empty
COMMENT= Yet Another Part-of-Speech and Morphological Analyzer
DEPENDS+= {mecab-ipadic>=2.7.0,mecab-jumandic>=5.1}:../../wip/mecab-ipadic
NO_CHECKSUM= yes
NO_CONFIGURE= yes
NO_BUILD= yes
do-install: #empty
.include "../../wip/mecab-base/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,10 +0,0 @@
# $NetBSD: Makefile.common,v 1.7 2007/05/09 13:21:10 obache Exp $
#
MECAB_VERSION= 0.95
CATEGORIES= japanese textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mecab/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://mecab.sourceforge.net/

View file

@ -1,2 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/19 13:34:37 obache Exp $
@comment this plist intentionally left empty

View file

@ -1,21 +0,0 @@
# $NetBSD: buildlink3.mk,v 1.4 2007/05/09 13:21:10 obache Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MECAB_BUILDLINK3_MK:= ${MECAB_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= mecab
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmecab}
BUILDLINK_PACKAGES+= mecab
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mecab
.if ${MECAB_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.mecab+= mecab>=0.90
BUILDLINK_PKGSRCDIR.mecab?= ../../wip/mecab
.endif # MECAB_BUILDLINK3_MK
.include "../../wip/mecab-base/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}

View file

@ -1 +0,0 @@
MeCab perl module

View file

@ -1,20 +0,0 @@
# $NetBSD: Makefile,v 1.10 2007/05/09 13:21:10 obache Exp $
#
.include "../../wip/mecab/Makefile.common"
DISTNAME= mecab-perl-${MECAB_VERSION}
PKGNAME= p5-mecab-${MECAB_VERSION}
CATEGORIES+= perl5
COMMENT= MeCab perl module
PERL5_CONFIGURE= yes
USE_LANGUAGES= c++
PERL5_PACKLIST= auto/MeCab/.packlist
REPLACE_PERL+= test.pl
.include "../../wip/mecab/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/19 13:53:43 obache Exp $

View file

@ -1,5 +0,0 @@
$NetBSD: distinfo,v 1.6 2007/03/12 14:10:29 obache Exp $
SHA1 (mecab-perl-0.95.tar.gz) = 95f37327d46b341d9ccafd04eb25cc2094b71109
RMD160 (mecab-perl-0.95.tar.gz) = 0d1319e0d9f590214474fcd68f69a5e4993fa8ad
Size (mecab-perl-0.95.tar.gz) = 33743 bytes

View file

@ -1 +0,0 @@
MeCab python module

View file

@ -1,26 +0,0 @@
# $NetBSD: Makefile,v 1.11 2007/05/09 13:21:10 obache Exp $
#
.include "../../wip/mecab/Makefile.common"
DISTNAME= mecab-python-${MECAB_VERSION}
PKGNAME= ${PYPKGPREFIX}-mecab-${MECAB_VERSION}
CATEGORIES+= python
COMMENT= MeCab python module
USE_LANGUAGES= c c++
PYDISTUTILSPKG= yes
PYBINMODULE= yes
TEST_ENV+= PYTHONPATH=${WRKSRC:Q}/build/lib.${LOWER_OPSYS}-${OS_VERSION}-${MACHINE_ARCH}-${PYVERSSUFFIX}
do-test:
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
cd ${WRKSRC}; \
env ${TEST_ENV} ${PYTHONBIN} test.py
.include "../../wip/mecab/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/19 13:55:31 obache Exp $
${PYSITELIB}/MeCab.py
${PYSITELIB}/MeCab.pyc
${PYSITELIB}/_MeCab.so
${PYSITELIB}/MeCab.pyo

View file

@ -1,5 +0,0 @@
$NetBSD: distinfo,v 1.6 2007/03/12 14:10:29 obache Exp $
SHA1 (mecab-python-0.95.tar.gz) = 3b3b3daafecf76fc21650b1321a842941a179385
RMD160 (mecab-python-0.95.tar.gz) = f1755dd951dbacdfe605876a6cdb87c928d53537
Size (mecab-python-0.95.tar.gz) = 38361 bytes

View file

@ -1 +0,0 @@
MeCab ruby module

View file

@ -1,23 +0,0 @@
# $NetBSD: Makefile,v 1.11 2007/05/09 13:21:10 obache Exp $
.include "../../wip/mecab/Makefile.common"
DISTNAME= mecab-ruby-${MECAB_VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-mecab-${MECAB_VERSION}
CATEGORIES+= ruby
COMMENT= MeCab ruby module
USE_LANGUAGES= c c++
REPLACE_RUBY+= test.rb
RUBY_HAS_ARCHLIB= yes
USE_RUBY_EXTCONF= yes
do-test:
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
cd ${WRKSRC}; \
env ${TEST_ENV} ${RUBY} test.rb
.include "../../wip/mecab/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,2 +0,0 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/19 13:57:41 obache Exp $
${RUBY_SITEARCHLIBDIR}/MeCab.${RUBY_DLEXT}

View file

@ -1,5 +0,0 @@
$NetBSD: distinfo,v 1.6 2007/03/12 14:10:30 obache Exp $
SHA1 (mecab-ruby-0.95.tar.gz) = bf6f25bc8e2b614b219ff913cd18f9bb1f70e05b
RMD160 (mecab-ruby-0.95.tar.gz) = 32437307471e3ee3583dc253691f83ba24ef8957
Size (mecab-ruby-0.95.tar.gz) = 25282 bytes