- Upgrade to 0.8.1.

Based on:	shimamura-san's patch
This commit is contained in:
Jun Kuriyama 2006-09-12 14:52:34 +00:00
parent 23801a4d1b
commit e7c06e04c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172859
2 changed files with 26 additions and 13 deletions

View file

@ -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>

View file

@ -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