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/sympa | |
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/sympa')
-rw-r--r-- | mail/sympa/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mail/sympa/Makefile b/mail/sympa/Makefile index 37e4bd8ee390..d90b2d9bde30 100644 --- a/mail/sympa/Makefile +++ b/mail/sympa/Makefile @@ -65,14 +65,6 @@ SUB_FILES= pkg-install USE_RC_SUBR= sympa -.if !defined(WITHOUT_NLS) -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif - MAN8= alias_manager.8 archived.8 bounced.8 sympa.8 CONFLICTS= sympa-5* @@ -96,6 +88,14 @@ OPTIONS_SET+= ${option} .include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MNLS} +USES+= gettext +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + .if ${PORT_OPTIONS:MFASTCGI} RUN_DEPENDS+= p5-FCGI>=0:${PORTSDIR}/www/p5-FCGI . if ${PORT_OPTIONS:MAPACHE} |