aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2006-08-01 02:51:37 +0800
committernovel <novel@FreeBSD.org>2006-08-01 02:51:37 +0800
commit54ccf8f5f82b5a61e138656c29523c2b96df7e54 (patch)
tree47a5dd7ffbcb45e7d58c3323c14299fd0c242830
parentfa76440706658f56fe96537e6ac9a6c30e2bcd50 (diff)
downloadfreebsd-ports-gnome-54ccf8f5f82b5a61e138656c29523c2b96df7e54.tar.gz
freebsd-ports-gnome-54ccf8f5f82b5a61e138656c29523c2b96df7e54.tar.zst
freebsd-ports-gnome-54ccf8f5f82b5a61e138656c29523c2b96df7e54.zip
This stem extension for PHP provides stemming capability for a variety of
languages using Dr. M.F. Porter's Snowball API, which can be found at: http://snowball.tartarus.org WWW: http://pecl.php.net/package/stem/ PR: ports/101106 Submitted by: chinsan <chinsan.tw at gmail.com>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/pecl-stem/Makefile24
-rw-r--r--textproc/pecl-stem/distinfo3
-rw-r--r--textproc/pecl-stem/pkg-descr5
4 files changed, 33 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c128d3757579..5ca26a205917 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -660,6 +660,7 @@
SUBDIR += pear-XML_HTMLSax
SUBDIR += pear-XML_Wddx
SUBDIR += pecl-ctemplate
+ SUBDIR += pecl-stem
SUBDIR += pecl-xdiff
SUBDIR += perl2html
SUBDIR += permute
diff --git a/textproc/pecl-stem/Makefile b/textproc/pecl-stem/Makefile
new file mode 100644
index 000000000000..f3a86c45e7c6
--- /dev/null
+++ b/textproc/pecl-stem/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: pecl-stem
+# Date created: 2006/07/31
+# Whom: chinsan <chinsan.tw@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= stem
+PORTVERSION= 1.4.3
+CATEGORIES= textproc pear
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= PECL
+
+MAINTAINER= chinsan.tw@gmail.com
+COMMENT= A PECL extension which provides word stemming
+
+USE_PHP= yes
+USE_PHPEXT= yes
+
+post-configure:
+ echo "#define HAVE_XDL_ALLOCATOR_PRIV 1" >>${WRKSRC}/config.h
+.include <bsd.port.mk>
diff --git a/textproc/pecl-stem/distinfo b/textproc/pecl-stem/distinfo
new file mode 100644
index 000000000000..97736cb173d0
--- /dev/null
+++ b/textproc/pecl-stem/distinfo
@@ -0,0 +1,3 @@
+MD5 (PECL/stem-1.4.3.tgz) = bcb83712a73c2579d7cc92646dc22622
+SHA256 (PECL/stem-1.4.3.tgz) = ca72017f85d46f245001ffe317e0a660f97e017f23337551348fcdbbff62bb93
+SIZE (PECL/stem-1.4.3.tgz) = 55860
diff --git a/textproc/pecl-stem/pkg-descr b/textproc/pecl-stem/pkg-descr
new file mode 100644
index 000000000000..895ed47e24ac
--- /dev/null
+++ b/textproc/pecl-stem/pkg-descr
@@ -0,0 +1,5 @@
+This stem extension for PHP provides stemming capability for a variety of
+languages using Dr. M.F. Porter's Snowball API, which can be found at:
+http://snowball.tartarus.org
+
+WWW: http://pecl.php.net/package/stem/