ports/151555: Update port: textproc/estraier to 1.2.30
KATO Tsuguru
tkato432 at yahoo.com
Mon Oct 18 18:10:12 UTC 2010
>Number: 151555
>Category: ports
>Synopsis: Update port: textproc/estraier to 1.2.30
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 18 18:10:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.3-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.30
Remove file:
files/patch-Makefile.in
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/textproc/estraier/Makefile textproc/estraier/Makefile
--- /usr/ports/textproc/estraier/Makefile 2010-07-26 21:36:55.000000000 +0900
+++ textproc/estraier/Makefile 2010-09-14 11:39:47.000000000 +0900
@@ -6,54 +6,57 @@
#
PORTNAME= estraier
-PORTVERSION= 1.2.29
-PORTREVISION= 4
+PORTVERSION= 1.2.30
CATEGORIES= textproc
-MASTER_SITES= SF \
- http://estraier.sourceforge.net/
-
+MASTER_SITES= http://fallabs.com/estraier/
MAINTAINER= ports at FreeBSD.org
COMMENT= A full-text search system for personal use
LIB_DEPENDS= qdbm.14:${PORTSDIR}/databases/qdbm
-USE_ICONV= yes
+OPTIONS= CHASEN "Japanese Morphological Analysis Support" Off \
+ MECAB "Part-of-Speech and Morphological Analyzer" Off \
+ KAKASI "Language processing filter/converter" On
+USE_ICONV= yes
GNU_CONFIGURE= yes
-
CONFIGURE_ARGS= --with-sysqdbm \
--enable-dlfilter \
--enable-devel
-
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/include ${PTHREAD_LIBS}"
-OPTIONS= CHASEN "Japanese Morphological Analysis Support" Off \
- MECAB "Part-of-Speech and Morphological Analyzer" Off \
- KAKASI "Language processing filter/converter" On
-
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_CHASEN)
+.if defined(WITH_CHASEN)
LIB_DEPENDS+= chasen.2:${PORTSDIR}/japanese/chasen-base
-
CONFIGURE_ARGS+= --enable-chasen
.endif
-.if ${ARCH} == i386 && defined(WITH_MECAB)
+.if defined(WITH_MECAB) && ${ARCH} == "i386"
LIB_DEPENDS+= mecab.1:${PORTSDIR}/japanese/mecab
-
CONFIGURE_ARGS+= --enable-mecab
.endif
.if !defined(WITHOUT_KAKASI)
LIB_DEPENDS+= kakasi.3:${PORTSDIR}/japanese/kakasi
-
CONFIGURE_ARGS+= --enable-kakasi
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' ${WRKSRC}/configure ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's|-lc ||g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|-O2|@CFLAGS@|g ; \
+ s|HOME|LOCALBASE|g ; \
+ s|:/usr/local/lib||g ; \
+ s|-I/usr/local/include|${PTHREAD_CFLAGS}|g ; \
+ s|-L/usr/local/lib|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile.in
+
+post-install:
+.for file in estindex estmbtomh estserver estsiutil estxview
+ @${STRIP_CMD} ${PREFIX}/bin/${file}
+.endfor
.include <bsd.port.post.mk>
diff -urN /usr/ports/textproc/estraier/distinfo textproc/estraier/distinfo
--- /usr/ports/textproc/estraier/distinfo 2005-12-26 16:43:59.000000000 +0900
+++ textproc/estraier/distinfo 2010-09-14 01:56:05.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (estraier-1.2.29.tar.gz) = 50577e59b949c25499d78ab0eb1c1d0e
-SHA256 (estraier-1.2.29.tar.gz) = fa0c1dba51e4c317c843e007ade1ae071f3891b68b0c4568de48d44626bf9724
-SIZE (estraier-1.2.29.tar.gz) = 410823
+MD5 (estraier-1.2.30.tar.gz) = 5b59ca42689919fd2af6da7697f14173
+SHA256 (estraier-1.2.30.tar.gz) = 13cc5dc9d8c00938539cad65f910b2e74d5d81cfef5796d3794a139526937ede
+SIZE (estraier-1.2.30.tar.gz) = 501480
diff -urN /usr/ports/textproc/estraier/files/patch-Makefile.in textproc/estraier/files/patch-Makefile.in
--- /usr/ports/textproc/estraier/files/patch-Makefile.in 2006-05-17 08:54:13.000000000 +0900
+++ textproc/estraier/files/patch-Makefile.in 1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- Makefile.in.bak Wed May 17 08:19:28 2006
-+++ Makefile.in Wed May 17 08:19:59 2006
-@@ -43,7 +43,7 @@
- -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1
- CFLAGS = -Wall -fsigned-char $(RELCFLAGS)
- LIBS = -L./qdbm -lqdbm @LIBS@
--LDFLAGS = -L. -L./qdbm -L$(HOME)/lib -L/usr/local/lib $(LIBS)
-+LDFLAGS = -L. -L./qdbm -L$(HOME)/lib -L/usr/local/lib $(LIBS) $(PTHREAD_LIBS)
- LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib
- lpath = $(HOME)/lib:/usr/local/lib:$(LD_LIBRARY_PATH):$(DYLD_LIBRARY_PATH):$(SHLIB_PATH)
- RUNENV = LD_LIBRARY_PATH="$(lpath)" DYLD_LIBRARY_PATH="$(lpath)" SHLIB_PATH="$(lpath)"
diff -urN /usr/ports/textproc/estraier/pkg-descr textproc/estraier/pkg-descr
--- /usr/ports/textproc/estraier/pkg-descr 2004-08-29 22:57:59.000000000 +0900
+++ textproc/estraier/pkg-descr 2010-09-14 01:53:25.000000000 +0900
@@ -4,4 +4,4 @@
system of a web site. It functions similarly to Google, but for a personal
web site or sites in an intranet.
-WWW: http://estraier.sourceforge.net/
+WWW: http://fallabs.com/estraier/
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list