aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/font-manager
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-22 08:16:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-22 08:16:07 +0000
commit5ff4e33fc09e0433096ff217208741e560f37db6 (patch)
tree0eed80486c0c9ee317000732b7da17a2b76db9f5 /x11-fonts/font-manager
parent6825f9380c20c8cc3a69580e8fcabda0603db4ff (diff)
downloadports-5ff4e33fc09e0433096ff217208741e560f37db6.tar.gz
ports-5ff4e33fc09e0433096ff217208741e560f37db6.zip
Notes
Diffstat (limited to 'x11-fonts/font-manager')
-rw-r--r--x11-fonts/font-manager/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11-fonts/font-manager/Makefile b/x11-fonts/font-manager/Makefile
index 5d3b20837f40..0f604bcbb32a 100644
--- a/x11-fonts/font-manager/Makefile
+++ b/x11-fonts/font-manager/Makefile
@@ -24,8 +24,8 @@ MAKE_JOBS_SAFE= yes
LICENSE_FILE= ${WRKSRC}/COPYING
PORTDATA= *
-OPTIONS= REPORTLAB "Enable font-sampler (PDF sample sheet)" off \
- NLS "Enable Native Language Support" on
+OPTIONS_DEFINE= REPORTLAB NLS
+REPORTLAB_DESC= Enable font-sampler (PDF sample sheet)
.include <bsd.port.options.mk>
@@ -33,7 +33,7 @@ OPTIONS= REPORTLAB "Enable font-sampler (PDF sample sheet)" off \
IGNORE= port data is source code, undefine NOPORTDATA
.endif
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB+= NLS=""
@@ -42,7 +42,7 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.if defined(WITH_REPORTLAB)
+.if ${PORT_OPTIONS:MREPORTLAB}
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/reportlab/:${PORTSDIR}/print/py-reportlab2
.endif