diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2006-09-12 14:52:34 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2006-09-12 14:52:34 +0000 |
commit | e7c06e04c91d4d2f5f567d1b1fa0979ccf8b5931 (patch) | |
tree | 1041d063a376ab6013bd92695508292b03faa85f | |
parent | - Add osdn.dl.sourceforge.jp again (seems working fine). (diff) |
- Upgrade to 0.8.1.
Based on: shimamura-san's patch
Notes
Notes:
svn path=/head/; revision=172859
-rw-r--r-- | textproc/senna/Makefile | 33 | ||||
-rw-r--r-- | textproc/senna/distinfo | 6 |
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 |