Date: Fri, 18 Sep 2015 14:01:15 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397243 - head/x11-wm/obconf Message-ID: <201509181401.t8IE1F4O070047@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Sep 18 14:01:14 2015 New Revision: 397243 URL: https://svnweb.freebsd.org/changeset/ports/397243 Log: - Switch to options helpers Approved by: portmgr blanket Modified: head/x11-wm/obconf/Makefile Modified: head/x11-wm/obconf/Makefile ============================================================================== --- head/x11-wm/obconf/Makefile Fri Sep 18 14:01:06 2015 (r397242) +++ head/x11-wm/obconf/Makefile Fri Sep 18 14:01:14 2015 (r397243) @@ -27,23 +27,15 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= ABOUT-NLS AUTHORS README TODO OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes -.include <bsd.port.options.mk> +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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509181401.t8IE1F4O070047>