aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-01-29 00:47:07 +0800
committermat <mat@FreeBSD.org>2014-01-29 00:47:07 +0800
commit1f09a32cde8951a068583589a3644a6bba65e6f2 (patch)
treec1e0d7e59457e3de0418876f2cde457156185cb8 /textproc
parent79c84773fac899b2175d79a2a10014c043515174 (diff)
downloadfreebsd-ports-gnome-1f09a32cde8951a068583589a3644a6bba65e6f2.tar.gz
freebsd-ports-gnome-1f09a32cde8951a068583589a3644a6bba65e6f2.tar.zst
freebsd-ports-gnome-1f09a32cde8951a068583589a3644a6bba65e6f2.zip
- Support staging
- Use new options knobs Sponsored by: Absolight
Diffstat (limited to 'textproc')
-rw-r--r--textproc/hyperestraier/Makefile24
-rw-r--r--textproc/hyperestraier/pkg-plist7
2 files changed, 14 insertions, 17 deletions
diff --git a/textproc/hyperestraier/Makefile b/textproc/hyperestraier/Makefile
index 24379803b2bd..5473a6fbde17 100644
--- a/textproc/hyperestraier/Makefile
+++ b/textproc/hyperestraier/Makefile
@@ -13,7 +13,7 @@ COMMENT= A full-text search system
BUILD_DEPENDS= qdbm>=1.8.77:${PORTSDIR}/databases/qdbm
# check configure for min version of qdbm.
-LIB_DEPENDS= qdbm.14:${PORTSDIR}/databases/qdbm
+LIB_DEPENDS= libqdbm.so.14:${PORTSDIR}/databases/qdbm
USES= iconv
USE_LDCONFIG= yes
@@ -26,26 +26,16 @@ OPTIONS_DEFINE= LZO MECAB
LZO_DESC= Enable lzo support
MECAB_DESC= Enable mecab support
-MAN1= estcall.1 estcmd.1 estconfig.1 estmaster.1 estwaver.1
-MAN3= estnode.3 estraier.3
+LZO_CONFIGURE_ENABLE= lzo
+LZO_LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MLZO}
-CONFIGURE_ARGS+= --enable-lzo
-LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2
-.endif
-
-.if ${PORT_OPTIONS:MMECAB}
-CONFIGURE_ARGS+= --enable-mecab
-LIB_DEPENDS+= mecab:${PORTSDIR}/japanese/mecab
-RUN_DEPENDS+= ${LOCALBASE}/lib/mecab/dic/ipadic/matrix.bin:${PORTSDIR}/japanese/mecab-ipadic
-.endif
+MECAB_CONFIGURE_ENABLE= mecab
+MECAB_LIB_DEPENDS= libmecab.so:${PORTSDIR}/japanese/mecab
+MECAB_RUN_DEPENDS= ${LOCALBASE}/lib/mecab/dic/ipadic/matrix.bin:${PORTSDIR}/japanese/mecab-ipadic
post-patch:
@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
${RM} -f ${WRKSRC}/doc/intro-en.html~ ${WRKSRC}/doc/intro-ja.html~
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/hyperestraier/pkg-plist b/textproc/hyperestraier/pkg-plist
index 78f2a475135d..3c73e03cec88 100644
--- a/textproc/hyperestraier/pkg-plist
+++ b/textproc/hyperestraier/pkg-plist
@@ -20,6 +20,13 @@ libexec/estproxy.cgi
libexec/estscout.cgi
libexec/estseek.cgi
libexec/estsupt.cgi
+man/man1/estcall.1.gz
+man/man1/estcmd.1.gz
+man/man1/estconfig.1.gz
+man/man1/estmaster.1.gz
+man/man1/estwaver.1.gz
+man/man3/estnode.3.gz
+man/man3/estraier.3.gz
%%DATADIR%%/COPYING
%%DATADIR%%/ChangeLog
%%DATADIR%%/THANKS