From e3d2a69680de927ae0572e05e485709001adbbea Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 18 Sep 2015 14:01:14 +0000 Subject: - Switch to options helpers Approved by: portmgr blanket --- x11-wm/obconf/Makefile | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'x11-wm/obconf') diff --git a/x11-wm/obconf/Makefile b/x11-wm/obconf/Makefile index eef8224c3cb6..b58b9f53fd85 100644 --- a/x11-wm/obconf/Makefile +++ b/x11-wm/obconf/Makefile @@ -27,23 +27,15 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= ABOUT-NLS AUTHORS README TODO OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes -.include +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include -- cgit v1.2.3