svn commit: r315248 - head/deskutils/q4wine

Jason Helfman jgh at FreeBSD.org
Mon Mar 25 21:47:12 UTC 2013


Author: jgh
Date: Mon Mar 25 21:47:11 2013
New Revision: 315248
URL: http://svnweb.freebsd.org/changeset/ports/315248

Log:
  - adopt optionsNG
  - trim historical header
  
  Approved by:	portmgr (miwi)

Modified:
  head/deskutils/q4wine/Makefile

Modified: head/deskutils/q4wine/Makefile
==============================================================================
--- head/deskutils/q4wine/Makefile	Mon Mar 25 21:19:46 2013	(r315247)
+++ head/deskutils/q4wine/Makefile	Mon Mar 25 21:47:11 2013	(r315248)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:	q4wine
-# Date created:		05 Feb 2009
-# Whom:			Sergey V. Dyatko <sergey.dyatko at gmail.com>
-#
+# Created by: Sergey V. Dyatko <sergey.dyatko at gmail.com>
 # $FreeBSD$
 
 PORTNAME=	q4wine
@@ -31,14 +28,15 @@ MAN1=		q4wine-cli.1 q4wine-helper.1 q4wi
 USES=		cmake
 CMAKE_ARGS+=	-DMANPAGE_ENTRY_PATH=${MANPREFIX}/man/
 
-OPTIONS=	DBUS "Enable DBus notification support" on
+OPTIONS_DEFINE=	DBUS
+OPTIONS_DEFAULT=	DBUS
 
 .include <bsd.port.options.mk>
 
-.if defined(WITHOUT_DBUS)
-CMAKE_ARGS+=	-DWITH_DBUS:BOOL=OFF
-.else
+.if ${PORT_OPTIONS:MDBUS}
 USE_QT4+=	dbus
+.else
+CMAKE_ARGS+=	-DWITH_DBUS:BOOL=OFF
 .endif
 
 post-install:


More information about the svn-ports-head mailing list