aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/senna
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2006-09-12 22:52:34 +0800
committerkuriyama <kuriyama@FreeBSD.org>2006-09-12 22:52:34 +0800
commiteadb09105beca181040ad3055809055e1a804e24 (patch)
tree6e1516ece3101a7044ce3a50a846b8632f29d44b /textproc/senna
parentfe635e856122aa42c1c87066bf3547399737b703 (diff)
downloadfreebsd-ports-gnome-eadb09105beca181040ad3055809055e1a804e24.tar.gz
freebsd-ports-gnome-eadb09105beca181040ad3055809055e1a804e24.tar.zst
freebsd-ports-gnome-eadb09105beca181040ad3055809055e1a804e24.zip
- Upgrade to 0.8.1.
Based on: shimamura-san's patch
Diffstat (limited to 'textproc/senna')
-rw-r--r--textproc/senna/Makefile33
-rw-r--r--textproc/senna/distinfo6
2 files changed, 26 insertions, 13 deletions
diff --git a/textproc/senna/Makefile b/textproc/senna/Makefile
index a82c7bba6f69..50e3ae686250 100644
--- a/textproc/senna/Makefile
+++ b/textproc/senna/Makefile
@@ -6,26 +6,39 @@
#
PORTNAME= senna
-PORTVERSION= 0.${SNAPDATE}
+PORTVERSION= 0.8.1
+PORTEPOCH= 1
CATEGORIES= textproc
-MASTER_SITES= http://dist.bsdlab.org/ \
- http://dev.razil.jp/archive/senna/
-DISTNAME= ${PORTNAME}-${SNAPDATE}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
+MASTER_SITE_SUBDIR= senna/21716
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Embeddable Fulltext Search Engine
-LIB_DEPENDS= mecab:${PORTSDIR}/japanese/mecab
-
GNU_CONFIGURE= YES
USE_GMAKE= YES
-INSTALLS_SHLIB= YES
+USE_LDCONFIG= YES
CONFIGURE_ARGS= --with-sennahome=${SENNA_HOME}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}/${DISTNAME}
-SNAPDATE= 20060829
SENNA_HOME?= /var/senna
-.include <bsd.port.mk>
+OPTIONS= MECAB "use mecab for morphological analysis" on \
+ NFKC "use nfkc based utf8 normalization" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_MECAB)
+CONFIGURE_ARGS+= --with-mecab
+LIB_DEPENDS= mecab:${PORTSDIR}/japanese/mecab
+.else
+CONFIGURE_ARGS+= --without-mecab
+.endif
+
+.if !defined(WITH_NFKC)
+CONFIGURE_ARGS+= --disable-nfkc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/senna/distinfo b/textproc/senna/distinfo
index 0a95a9915186..7e55e815c6e1 100644
--- a/textproc/senna/distinfo
+++ b/textproc/senna/distinfo
@@ -1,3 +1,3 @@
-MD5 (senna-20060829.tar.gz) = cb6fc7f9dfdeeea4fe467d49de81d618
-SHA256 (senna-20060829.tar.gz) = 36476f786e01f4b1966c5a8b7b7548bbf14e06c9c18e88076238ebd99a83fe52
-SIZE (senna-20060829.tar.gz) = 1316877
+MD5 (senna-0.8.1.tar.gz) = 6b0c795dbc2ecca32d16f4b99ec5919c
+SHA256 (senna-0.8.1.tar.gz) = 9d842f528a198f12065f6a973367e5685f9d3c2aa1566e564d87f87086d4f4b7
+SIZE (senna-0.8.1.tar.gz) = 1019008