aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2012-10-11 05:51:21 +0800
committerrakuco <rakuco@FreeBSD.org>2012-10-11 05:51:21 +0800
commite8ff7db18c4b787d4ad8644a02100b79119f6c68 (patch)
tree2b1930650bdc28f076b3de78efd31ed47b81dbb7 /x11-wm
parent881ae82501d7d64214e22c1e124b8d407ce40982 (diff)
downloadfreebsd-ports-gnome-e8ff7db18c4b787d4ad8644a02100b79119f6c68.tar.gz
freebsd-ports-gnome-e8ff7db18c4b787d4ad8644a02100b79119f6c68.tar.zst
freebsd-ports-gnome-e8ff7db18c4b787d4ad8644a02100b79119f6c68.zip
Convert to OptionsNG.
PR: ports/172561 Submitted by: Andrew J. Caines <A.J.Caines@halplant.com> (maintainer) Feature safe: yes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/blackbox/Makefile4
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