diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-04 22:17:16 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-04 22:17:16 +0800 |
commit | 2f969602cdd81b84a7db02fd82faaba4fadd9219 (patch) | |
tree | 7dba36c225aac6f8d19105a19031239a7c827b63 /mail/elmo-devel | |
parent | 8c61a1cea4408150702172ebdcd290015ffa5311 (diff) | |
download | freebsd-ports-gnome-2f969602cdd81b84a7db02fd82faaba4fadd9219.tar.gz freebsd-ports-gnome-2f969602cdd81b84a7db02fd82faaba4fadd9219.tar.zst freebsd-ports-gnome-2f969602cdd81b84a7db02fd82faaba4fadd9219.zip |
WITHOUT_NLS -> PORT_OPTIONS:MNLS
NOPORTDOCS -> PORT_OPTIONS:MDOCS
New options framework
Diffstat (limited to 'mail/elmo-devel')
-rw-r--r-- | mail/elmo-devel/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/elmo-devel/Makefile b/mail/elmo-devel/Makefile index 9f89186bce2a..20791210b87d 100644 --- a/mail/elmo-devel/Makefile +++ b/mail/elmo-devel/Makefile @@ -27,12 +27,14 @@ MAKE_JOBS_SAFE= yes MAN1= elmo.1 elmoconf.pl.1 -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.else +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" USES+= gettext +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " .endif .include <bsd.port.pre.mk> |