aboutsummaryrefslogtreecommitdiff
path: root/print/lyx16
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-22 12:40:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-22 12:40:32 +0000
commit61000f23278e2896df05e4dcb2fa6fcdf1c33643 (patch)
tree2eef8dc8057844b13440984edd0115f961a53036 /print/lyx16
parent4e29df1229e8f7aeb6bce65481987a85a1ee53b5 (diff)
downloadports-61000f23278e2896df05e4dcb2fa6fcdf1c33643.tar.gz
ports-61000f23278e2896df05e4dcb2fa6fcdf1c33643.zip
Notes
Diffstat (limited to 'print/lyx16')
-rw-r--r--print/lyx16/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/print/lyx16/Makefile b/print/lyx16/Makefile
index 3a78a9e8ddec..9ae9edcf73cb 100644
--- a/print/lyx16/Makefile
+++ b/print/lyx16/Makefile
@@ -41,19 +41,19 @@ MAKE_JOBS_SAFE= yes
MAN1= lyx.1 lyxclient.1 tex2lyx.1
-OPTIONS= ASPELL "Use Aspell library" on \
- AIKSAUR "Build Aiksaurus support (English thesaurus)" on \
- NLS "Native language support" on
+OPTIONS_DEFINE= ASPELL AIKSAUR NLS
+OPTIONS_DEFAULT= ASPELL AIKSAUR NLS
+AIKSAUR_DESC= Aiksaurus support (English thesaurus)
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_AIKSAUR)
+.if ${PORT_OPTIONS:MAIKSAUR}
LIB_DEPENDS+= Aiksaurus:${PORTSDIR}/textproc/aiksaurus
.else
CONFIGURE_ARGS+= --without-aiksaurus
.endif
-.if !defined(WITHOUT_ASPELL)
+.if ${PORT_OPTIONS:MASPELL}
LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
CONFIGURE_ARGS+= --with-pspell \
--with-pspell-lib="${LOCALBASE}/lib" \
@@ -62,7 +62,7 @@ CONFIGURE_ARGS+= --with-pspell \
CONFIGURE_ARGS+= --without-aspell --without-pspell
.endif
-.if defined(WITHOUT_NLS)
+.if ! ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else