summaryrefslogtreecommitdiff
path: root/textproc/chasen
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-05-31 13:00:56 +0000
committerseb <seb@pkgsrc.org>2002-05-31 13:00:56 +0000
commitd8feaca9a7fa77dc8737e1ff2cd168c6e5e8efec (patch)
tree69f556063e3971cdc5287ccdb2065bef0902d7a7 /textproc/chasen
parentd36900ce5d51b889343aa9398e6f422f7071d3f3 (diff)
downloadpkgsrc-d8feaca9a7fa77dc8737e1ff2cd168c6e5e8efec.tar.gz
Reimport of package chasen from japanese/chasen into textproc/chasen.
This is part of the japanese category retirement. CATEGORIES and pathnames to japanese/ adjusted.
Diffstat (limited to 'textproc/chasen')
-rw-r--r--textproc/chasen/DESCR1
-rw-r--r--textproc/chasen/Makefile25
-rw-r--r--textproc/chasen/Makefile.common8
-rw-r--r--textproc/chasen/PLIST2
-rw-r--r--textproc/chasen/buildlink.mk49
5 files changed, 85 insertions, 0 deletions
diff --git a/textproc/chasen/DESCR b/textproc/chasen/DESCR
new file mode 100644
index 00000000000..6fd66ffb095
--- /dev/null
+++ b/textproc/chasen/DESCR
@@ -0,0 +1 @@
+ChaSen, Japanese Morphological Analysis System.
diff --git a/textproc/chasen/Makefile b/textproc/chasen/Makefile
new file mode 100644
index 00000000000..ef05f308f29
--- /dev/null
+++ b/textproc/chasen/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:00:56 seb Exp $
+#
+
+DISTNAME= chasen-${CHASEN_VERSION}
+CATEGORIES= japanese textproc
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= tech-pkg-ja@jp.netbsd.org
+HOMEPAGE= http://chasen.aist-nara.ac.jp/
+COMMENT= ChaSen, Japanese Morphological Analysis System
+
+DEPENDS+= chasen-base>=${CHASEN_VERSION}:../../textproc/chasen-base
+DEPENDS+= ipadic>=2.4.1:../../textproc/ipadic
+
+EXTRACT_ONLY= # empty
+NO_CHECKSUM= # defined
+NO_PATCH= # defined
+NO_CONFIGURE= # defined
+NO_BUILD= # defined
+
+do-install: # empty
+
+.include "Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/chasen/Makefile.common b/textproc/chasen/Makefile.common
new file mode 100644
index 00000000000..b87c0b67e37
--- /dev/null
+++ b/textproc/chasen/Makefile.common
@@ -0,0 +1,8 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2002/05/31 13:00:56 seb Exp $
+#
+
+CHASEN_VERSION= 2.2.9
+
+CHASEN_CONFDIR?= ${LOCALBASE}/etc
+CHASEN_DICDIR?= ${LOCALBASE}/share/chasen/dic
+CONFIGURE_ENV+= --sysconfdir=${CHASEN_CONFDIR}
diff --git a/textproc/chasen/PLIST b/textproc/chasen/PLIST
new file mode 100644
index 00000000000..ec293dea6dd
--- /dev/null
+++ b/textproc/chasen/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 13:00:56 seb Exp $
+@comment this plist intentionally left empty
diff --git a/textproc/chasen/buildlink.mk b/textproc/chasen/buildlink.mk
new file mode 100644
index 00000000000..52e6f928e15
--- /dev/null
+++ b/textproc/chasen/buildlink.mk
@@ -0,0 +1,49 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2002/05/31 13:00:56 seb Exp $
+#
+# This Makefile fragment is included by packages that use chasen.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.chasen to the dependency pattern
+# for the version of chasen desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(CHASEN_BUILDLINK_MK)
+CHASEN_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.chasen?= chasen>=2.0
+DEPENDS+= ${BUILDLINK_DEPENDS.chasen}:../../textproc/chasen
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.chasen=chasen
+BUILDLINK_PREFIX.chasen_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.chasen= include/chasen.h
+BUILDLINK_FILES.chasen+= lib/libchasen.*
+
+BUILDLINK_TARGETS.chasen= chasen-buildlink
+BUILDLINK_TARGETS.chasen+= chasen-buildlink-config-wrapper
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.chasen}
+
+BUILDLINK_CONFIG.chasen= \
+ ${BUILDLINK_PREFIX.chasen}/bin/chasen-config
+BUILDLINK_CONFIG_WRAPPER.chasen= \
+ ${BUILDLINK_DIR}/bin/chasen-config
+REPLACE_BUILDLINK_SED+= \
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.chasen}|${BUILDLINK_CONFIG.chasen}|g"
+
+.if defined(USE_CONFIG_WRAPPER)
+CHASEN_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.chasen}
+CONFIGURE_ENV+= CHASEN_CONFIG="${CHASEN_CONFIG}"
+MAKE_ENV+= CHASEN_CONFIG="${CHASEN_CONFIG}"
+.endif
+
+pre-configure: ${BUILDLINK_TARGETS.chasen}
+chasen-buildlink: _BUILDLINK_USE
+chasen-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
+
+.endif # CHASEN_BUILDLINK_MK