mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
- Convert to staging
- Use new LIB_DEPENDS Sponsored by: Absolight
This commit is contained in:
parent
be54c1c7db
commit
fe93c4ae93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341269
1 changed files with 10 additions and 15 deletions
|
@ -10,7 +10,7 @@ MASTER_SITES= http://fallabs.com/estraier/
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A full-text search system for personal use
|
||||
|
||||
LIB_DEPENDS= qdbm.14:${PORTSDIR}/databases/qdbm
|
||||
LIB_DEPENDS= libqdbm.so:${PORTSDIR}/databases/qdbm
|
||||
|
||||
OPTIONS_DEFINE= CHASEN MECAB KAKASI
|
||||
OPTIONS_DEFAULT= KAKASI
|
||||
|
@ -26,24 +26,19 @@ CONFIGURE_ARGS= --with-sysqdbm \
|
|||
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS+= -L${LOCALBASE}/include ${PTHREAD_LIBS}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
CHASEN_LIB_DEPENDS= libchasen.so:${PORTSDIR}/japanese/chasen-base
|
||||
CHASEN_CONFIGURE_ENABLE= chasen
|
||||
|
||||
.if ${PORT_OPTIONS:MCHASEN}
|
||||
LIB_DEPENDS+= chasen.2:${PORTSDIR}/japanese/chasen-base
|
||||
CONFIGURE_ARGS+= --enable-chasen
|
||||
.endif
|
||||
KAKASI_LIB_DEPENDS= libkakasi.so:${PORTSDIR}/japanese/kakasi
|
||||
KAKASI_CONFIGURE_ENABLE= kakasi
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MMECAB} && ${ARCH} == "i386"
|
||||
LIB_DEPENDS+= mecab.1:${PORTSDIR}/japanese/mecab
|
||||
LIB_DEPENDS+= libmecab.so:${PORTSDIR}/japanese/mecab
|
||||
CONFIGURE_ARGS+= --enable-mecab
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MKAKASI}
|
||||
LIB_DEPENDS+= kakasi.3:${PORTSDIR}/japanese/kakasi
|
||||
CONFIGURE_ARGS+= --enable-kakasi
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|-lc ||g' ${WRKSRC}/configure
|
||||
|
@ -56,7 +51,7 @@ post-patch:
|
|||
|
||||
post-install:
|
||||
.for file in estindex estmbtomh estserver estsiutil estxview
|
||||
@${STRIP_CMD} ${PREFIX}/bin/${file}
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue