diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2012-10-10 21:51:21 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2012-10-10 21:51:21 +0000 |
commit | 3f632eb2bd6f2b43e9fb0a9a6f852a70b87d3914 (patch) | |
tree | 2b1930650bdc28f076b3de78efd31ed47b81dbb7 /x11-wm | |
parent | Update to 2.1.3. (diff) |
Convert to OptionsNG.
PR: ports/172561
Submitted by: Andrew J. Caines <A.J.Caines@halplant.com> (maintainer)
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=305690
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/blackbox/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-wm/blackbox/Makefile b/x11-wm/blackbox/Makefile index 275e0e2024c1..929a33ace245 100644 --- a/x11-wm/blackbox/Makefile +++ b/x11-wm/blackbox/Makefile @@ -28,7 +28,7 @@ OPTIONS= TOOLS_ONLY "Do not install window manager, only tools" off .include <bsd.port.options.mk> -.if defined(WITH_TOOLS_ONLY) +.if ${PORT_OPTIONS:MTOOLS_ONLY} PKGNAMESUFFIX= -tools COMMENT+= (tools only) MAKE_ARGS= SUBDIRS="doc lib util" bin_PROGRAMS=bsetroot @@ -43,7 +43,7 @@ post-patch: @${REINPLACE_CMD} -e 's/_XUTIL_H_/_X11&/' ${WRKSRC}/lib/Util.hh post-install: -.if defined(WITH_TOOLS_ONLY) +.if ${PORT_OPTIONS:MTOOLS_ONLY} @${REINPLACE_CMD} -E '/[^s]\/blackbox|bstyleconvert|lib|include/d' \ ${TMPPLIST} ${INSTALL_MAN} ${MAN1:S#^#${WRKSRC}/doc/#} ${MANPREFIX}/man/man1 |