diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-06 14:41:15 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-06 14:41:15 +0800 |
commit | 13fbf93c41f4cea42f385da9cc22e36f96d66d51 (patch) | |
tree | 57e0d36f5252dfbcbd76ce8c591f83f1cd36486a /x11-wm/obconf/Makefile | |
parent | 0ad33b7e0f1e94e8fd60f9d60aa9b63e0c1a4f81 (diff) | |
download | freebsd-ports-gnome-13fbf93c41f4cea42f385da9cc22e36f96d66d51.tar.gz freebsd-ports-gnome-13fbf93c41f4cea42f385da9cc22e36f96d66d51.tar.zst freebsd-ports-gnome-13fbf93c41f4cea42f385da9cc22e36f96d66d51.zip |
Finish converting x11* from WITHOUT_NLS to PORT_OPTIONS:MNLS
Diffstat (limited to 'x11-wm/obconf/Makefile')
-rw-r--r-- | x11-wm/obconf/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/x11-wm/obconf/Makefile b/x11-wm/obconf/Makefile index 83a13355ebeb..7a8966d37358 100644 --- a/x11-wm/obconf/Makefile +++ b/x11-wm/obconf/Makefile @@ -25,16 +25,18 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= ABOUT-NLS AUTHORS README TODO -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |