diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-18 14:01:14 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-18 14:01:14 +0000 |
commit | e3d2a69680de927ae0572e05e485709001adbbea (patch) | |
tree | 93792a695dedb040015a80f1d14934695a7c763d /x11-wm/obconf/Makefile | |
parent | 3c481e8a82f9ac35a9e350599edc00e6246d6bcd (diff) | |
download | ports-e3d2a69680de927ae0572e05e485709001adbbea.tar.gz ports-e3d2a69680de927ae0572e05e485709001adbbea.zip |
- Switch to options helpers
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=397243
Diffstat (limited to 'x11-wm/obconf/Makefile')
-rw-r--r-- | x11-wm/obconf/Makefile | 16 |
1 files changed, 4 insertions, 12 deletions
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 <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> |