aboutsummaryrefslogtreecommitdiff
path: root/japanese/jd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/jd/Makefile')
-rw-r--r--japanese/jd/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/japanese/jd/Makefile b/japanese/jd/Makefile
index 03c277946e99..e5494b50010b 100644
--- a/japanese/jd/Makefile
+++ b/japanese/jd/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-120826
EXTRACT_SUFX= .tgz
MAINTAINER= townwear@gmail.com
-COMMENT= A 2ch browser
+COMMENT= 2ch browser
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
@@ -28,17 +28,19 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-sessionlib=gnomeui
-OPTIONS= ONIGURUMA "Build with oniguruma regular expressions lib" off \
- PANGOLAYOUT "Use PANGOLayout instead of PangoGlyphString" off
+OPTIONS_DEFINE= ONIGURUMA PANGOLAYOUT
+ONIGURUMA_DESC= Use oniguruma regular expressions library
+PANGOLAYOUT_DESC= Use PANGOLayout instead of PangoGlyphString
+.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
-.if defined(WITH_ONIGURUMA)
+.if ${PORT_OPTIONS:MONIGURUMA}
CONFIGURE_ARGS+= --with-oniguruma
LIB_DEPENDS+= onig:${PORTSDIR}/devel/oniguruma5
.endif
-.if defined(WITH_PANGOLAYOUT)
+.if ${PORT_OPTIONS:MPANGOLAYOUT}
CONFIGURE_ARGS+= --with-pangolayout
.endif