svn commit: r305690 - head/x11-wm/blackbox

Raphael Kubo da Costa rakuco at FreeBSD.org
Wed Oct 10 21:51:22 UTC 2012


Author: rakuco
Date: Wed Oct 10 21:51:21 2012
New Revision: 305690
URL: http://svn.freebsd.org/changeset/ports/305690

Log:
  Convert to OptionsNG.
  
  PR:		ports/172561
  Submitted by:	Andrew J. Caines <A.J.Caines at halplant.com> (maintainer)
  Feature safe:	yes

Modified:
  head/x11-wm/blackbox/Makefile

Modified: head/x11-wm/blackbox/Makefile
==============================================================================
--- head/x11-wm/blackbox/Makefile	Wed Oct 10 21:49:02 2012	(r305689)
+++ head/x11-wm/blackbox/Makefile	Wed Oct 10 21:51:21 2012	(r305690)
@@ -28,7 +28,7 @@ OPTIONS=	TOOLS_ONLY "Do not install wind
 
 .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


More information about the svn-ports-head mailing list