diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2001-07-23 09:54:11 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2001-07-23 09:54:11 +0000 |
commit | 6eb572424307534c79b2064784dc1daf0b06025e (patch) | |
tree | 87bdbeeb6758d478f1e04bc6b02a4feac00c5011 /japanese/chasen | |
parent | eafc0ab93299b15ae86194131f90d1ba0c1962fd (diff) | |
download | ports-6eb572424307534c79b2064784dc1daf0b06025e.tar.gz ports-6eb572424307534c79b2064784dc1daf0b06025e.zip |
Notes
Diffstat (limited to 'japanese/chasen')
-rw-r--r-- | japanese/chasen/Makefile | 36 | ||||
-rw-r--r-- | japanese/chasen/files/Makefile.lib | 32 | ||||
-rw-r--r-- | japanese/chasen/files/patch-aa | 57 | ||||
-rw-r--r-- | japanese/chasen/files/patch-ab | 11 | ||||
-rw-r--r-- | japanese/chasen/files/patch-ac | 11 | ||||
-rw-r--r-- | japanese/chasen/files/patch-ad | 11 | ||||
-rw-r--r-- | japanese/chasen/pkg-plist | 40 |
7 files changed, 10 insertions, 188 deletions
diff --git a/japanese/chasen/Makefile b/japanese/chasen/Makefile index ff886b8c318b..204383429758 100644 --- a/japanese/chasen/Makefile +++ b/japanese/chasen/Makefile @@ -7,39 +7,19 @@ # PORTNAME= chasen -PORTVERSION= 2.02 -PORTREVISION= 3 +PORTVERSION= 2.2.7 CATEGORIES= japanese -MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/lab/nlp/tools/chasen/ -DISTNAME= ${PORTNAME}-sys${PORTVERSION}-ipadic2.1 +MASTER_SITES= # empty +DISTFILES= # empty +EXTRACT_ONLY= # empty MAINTAINER= ports@FreeBSD.org -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -MAKE_ARGS= NOPROFILE=true -INSTALLS_SHLIB= yes +RUN_DEPENDS= chasen:${PORTSDIR}/japanese/chasen-base \ + ${LOCALBASE}/share/chasen/dic/ipadic/cforms.cha:${PORTSDIR}/japanese/ipadic -DOCS_EN= README doc/manual.pdf doc/manual.tex -DOCS_JA= CHANGES README.ja doc/manual-j.pdf doc/manual-j.tex +NO_BUILD= YES -post-patch: - ${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/lib/Makefile - -post-build: - @${ECHO_MSG} "Making dictionaries" - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} dic - -post-install: - ${MKDIR} ${PREFIX}/include/chasen - @cd ${WRKSRC}/lib; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} install -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/chasen/ja -.for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/chasen/ -.endfor -.for f in ${DOCS_JA} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/chasen/ja/ -.endfor -.endif +do-install: .include <bsd.port.mk> diff --git a/japanese/chasen/files/Makefile.lib b/japanese/chasen/files/Makefile.lib deleted file mode 100644 index b3e41cd1996e..000000000000 --- a/japanese/chasen/files/Makefile.lib +++ /dev/null @@ -1,32 +0,0 @@ -# $FreeBSD$ - -LIB= chasen -SHLIB_MAJOR?= 0 -SHLIB_MINOR?= 0 -SRCS= connect.c getid.c grammar.c iotool.c katuyou.c zentohan.c lisp.c \ - chalib.c parse.c init.c print.c \ - pat.c patfile.c \ - chfile.c select.c \ - jfgets.c getopt.c -INCS= chadic.h chalib.h pat.h sufary.h - -NOMAN= YES -LIBDIR= ${LOCALBASE}/lib -INCDIR= ${LOCALBASE}/include/chasen - -.include <bsd.lib.mk> - -# For FreeBSD 3.x or older -.if !target(_includeinstall) -_includeinstall: -.if defined(INCS) -.for header in ${INCS} - cd ${.CURDIR} && \ - ${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \ - ${header} ${DESTDIR}${INCDIR} - -.endfor -.endif - -beforeinstall: _includeinstall -.endif diff --git a/japanese/chasen/files/patch-aa b/japanese/chasen/files/patch-aa deleted file mode 100644 index a1cfde037740..000000000000 --- a/japanese/chasen/files/patch-aa +++ /dev/null @@ -1,57 +0,0 @@ ---- Makefile.orig Wed Dec 29 01:12:01 1999 -+++ Makefile Thu Mar 1 18:12:40 2001 -@@ -9,8 +9,8 @@ - # - - # --- commands & flags --CC = gcc --CFLAGS = -O2 -+#CC = gcc -+#CFLAGS = -O2 - CCOUT = - LDFLAGS = - RM = rm -f -@@ -19,8 +19,8 @@ - - # --- installation files and directories - CHASEN = chasen --BINDIR = /usr/local/bin --LIBDIR = /usr/local/lib/chasen -+BINDIR = $(PREFIX)/bin -+LIBDIR = $(PREFIX)/share/chasen - MKDICDIR = $(LIBDIR)/mkchadic - DICDIR = $(LIBDIR)/dic - -@@ -42,7 +42,7 @@ - SHELL = /bin/sh - DEFS = $(KOCHA) $(VGRAM) $(SJIS) $(NO_MMAP) - MAKE = make --MFLAGS = CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" RM="$(RM)" \ -+MFLAGS = CC="$(CC)" CFLAGS="$(CFLAGS) $(DEFS)" LDFLAGS="$(LDFLAGS)" RM="$(RM)" \ - YACC="$(YACC)" CHASEN="$(CHASEN)" CCOUT="$(CCOUT)" \ - NETLIBS="$(NETLIBS)" CHASEN_PORT="$(CHASEN_PORT)" \ - RANLIB="$(RANLIB)" -@@ -74,17 +74,17 @@ - $(MAKE) VGRAM= - - chasen:: -- cd lib; $(MAKE) $(MFLAGS) DEFS="$(DEFS)" -- cd mkchadic; $(MAKE) $(MFLAGS) DEFS="$(DEFS)" -- cd chasen; $(MAKE) $(MFLAGS) DEFS="$(DEFS)" -+ cd lib; $(MAKE) $(MFLAGS) -+ cd mkchadic; $(MAKE) $(MFLAGS) -+ cd chasen; $(MAKE) $(MFLAGS) - - chasen.win:: - cd lib -- $(MAKE) $(MFLAGS) DEFS="$(DEFS)" win -+ $(MAKE) $(MFLAGS) win - cd ..\mkchadic -- $(MAKE) $(MFLAGS) DEFS="$(DEFS)" win -+ $(MAKE) $(MFLAGS) win - cd ..\chasen -- $(MAKE) $(MFLAGS) DEFS="$(DEFS)" win -+ $(MAKE) $(MFLAGS) win - cd .. - - dic:: diff --git a/japanese/chasen/files/patch-ab b/japanese/chasen/files/patch-ab deleted file mode 100644 index 5d31a665936a..000000000000 --- a/japanese/chasen/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- chasen/Makefile~ Fri Dec 17 02:53:09 1999 -+++ chasen/Makefile Sun Feb 27 00:11:55 2000 -@@ -5,7 +5,7 @@ - - CP = cp - SHELL = /bin/sh --BINDIR = /usr/local/bin -+BINDIR = $(PREFIX)/bin - RM = rm -f - - LIBDIR = ../lib diff --git a/japanese/chasen/files/patch-ac b/japanese/chasen/files/patch-ac deleted file mode 100644 index c5721618a196..000000000000 --- a/japanese/chasen/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- dic/Makefile~ Wed Dec 29 11:19:41 1999 -+++ dic/Makefile Sun Feb 27 00:12:25 2000 -@@ -16,7 +16,7 @@ - TABLE = table.cha - MATRIX = matrix.cha - SHELL = /bin/sh --LIBDIR = /usr/local/lib/chasen -+LIBDIR = $(PREFIX)/share/chasen - DICDIR = $(LIBDIR)/dic - MAKEINT = makeint - MAKE = make diff --git a/japanese/chasen/files/patch-ad b/japanese/chasen/files/patch-ad deleted file mode 100644 index 20ebc84aad0b..000000000000 --- a/japanese/chasen/files/patch-ad +++ /dev/null @@ -1,11 +0,0 @@ ---- mkchadic/Makefile~ Fri Dec 17 02:52:59 1999 -+++ mkchadic/Makefile Sun Feb 27 00:13:05 2000 -@@ -5,7 +5,7 @@ - CP = cp - MV = mv -f - SHELL = /bin/sh --LIBDIR = /usr/local/lib/chasen -+LIBDIR = $(PREFIX)/share/chasen - - MKDICDIR = $(LIBDIR)/mkchadic - LIBDIR = ../lib diff --git a/japanese/chasen/pkg-plist b/japanese/chasen/pkg-plist index 9a7434979106..d0e69760de89 100644 --- a/japanese/chasen/pkg-plist +++ b/japanese/chasen/pkg-plist @@ -1,38 +1,2 @@ -@comment $NetBSD: PLIST,v 1.2 1999/06/07 09:54:39 sakamoto Exp $ -bin/chasen -include/chasen/chadic.h -include/chasen/chalib.h -include/chasen/pat.h -include/chasen/sufary.h -@dirrm include/chasen -lib/libchasen.a -lib/libchasen.so -lib/libchasen.so.0 -share/chasen/dic/Makefile -share/chasen/dic/cforms.cha -share/chasen/dic/chadic.int -share/chasen/dic/chadic.pat -share/chasen/dic/chasenrc -share/chasen/dic/connect.cha -share/chasen/dic/ctypes.cha -share/chasen/dic/grammar.cha -share/chasen/dic/matrix.cha -share/chasen/dic/table.cha -share/chasen/mkchadic/convdic -share/chasen/mkchadic/makeint -share/chasen/mkchadic/makemat -share/chasen/mkchadic/mkary -share/chasen/mkchadic/pattool -share/chasen/mkchadic/sortdic -@dirrm share/chasen/mkchadic -@dirrm share/chasen/dic -@dirrm share/chasen -%%PORTDOCS%%share/doc/chasen/README -%%PORTDOCS%%share/doc/chasen/manual.pdf -%%PORTDOCS%%share/doc/chasen/manual.tex -%%PORTDOCS%%share/doc/chasen/ja/CHANGES -%%PORTDOCS%%share/doc/chasen/ja/README.ja -%%PORTDOCS%%share/doc/chasen/ja/manual-j.pdf -%%PORTDOCS%%share/doc/chasen/ja/manual-j.tex -%%PORTDOCS%%@dirrm share/doc/chasen/ja -%%PORTDOCS%%@dirrm share/doc/chasen +@comment $NetBSD: PLIST,v 1.3 2001/01/07 13:30:58 taca Exp $ +@comment this plist intentionally left empty |