aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/hyperestraier
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2012-06-11 13:21:56 +0800
committerarved <arved@FreeBSD.org>2012-06-11 13:21:56 +0800
commit8ebc81f1d915d06e7c8d82d87c7762f3fefcee1c (patch)
tree7a6d0985f2b6b38579cc3b88e57ec08a829825be /textproc/hyperestraier
parentfbcb7b84f94855e1697a41b5a2bd1efacfdaf33e (diff)
downloadfreebsd-ports-gnome-8ebc81f1d915d06e7c8d82d87c7762f3fefcee1c.tar.gz
freebsd-ports-gnome-8ebc81f1d915d06e7c8d82d87c7762f3fefcee1c.tar.zst
freebsd-ports-gnome-8ebc81f1d915d06e7c8d82d87c7762f3fefcee1c.zip
Convert to new optionsframework
Diffstat (limited to 'textproc/hyperestraier')
-rw-r--r--textproc/hyperestraier/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/textproc/hyperestraier/Makefile b/textproc/hyperestraier/Makefile
index 52b67a494390..f67c7d84cf73 100644
--- a/textproc/hyperestraier/Makefile
+++ b/textproc/hyperestraier/Makefile
@@ -25,20 +25,21 @@ CONFIGURE_ARGS= --enable-bzip2 --disable-zlib
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-OPTIONS= LZO "Enable lzo support" off \
- MECAB "Enable mecab support" off
+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
.include <bsd.port.pre.mk>
-.if defined(WITH_LZO)
+.if ${PORT_OPTIONS:MLZO}
CONFIGURE_ARGS+= --enable-lzo
LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2
.endif
-.if defined(WITH_MECAB)
+.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