aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/estraier
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-01-27 04:05:55 +0800
committermat <mat@FreeBSD.org>2014-01-27 04:05:55 +0800
commit57b3133e951b244b4dfc96cd239116acd4053a31 (patch)
tree87d3729fbed9508b47b5d7e90ff3357e8a13d22a /textproc/estraier
parentb28fa961bd079c30e17950232c05ee49a8c4b0b4 (diff)
downloadfreebsd-ports-gnome-57b3133e951b244b4dfc96cd239116acd4053a31.tar.gz
freebsd-ports-gnome-57b3133e951b244b4dfc96cd239116acd4053a31.tar.zst
freebsd-ports-gnome-57b3133e951b244b4dfc96cd239116acd4053a31.zip
- Convert to staging
- Use new LIB_DEPENDS Sponsored by: Absolight
Diffstat (limited to 'textproc/estraier')
-rw-r--r--textproc/estraier/Makefile25
1 files changed, 10 insertions, 15 deletions
diff --git a/textproc/estraier/Makefile b/textproc/estraier/Makefile
index da8fd1dfb220..ab71bf22bb92 100644
--- a/textproc/estraier/Makefile
+++ b/textproc/estraier/Makefile
@@ -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>