From 477a5c6e915c65b31d4eb334be3a6cfdd7cce880 Mon Sep 17 00:00:00 2001 From: jgh Date: Mon, 25 Mar 2013 21:47:11 +0000 Subject: - adopt optionsNG - trim historical header Approved by: portmgr (miwi) --- deskutils/q4wine/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'deskutils') diff --git a/deskutils/q4wine/Makefile b/deskutils/q4wine/Makefile index 4abf1b42c438..f07316700665 100644 --- a/deskutils/q4wine/Makefile +++ b/deskutils/q4wine/Makefile @@ -1,7 +1,4 @@ -# New ports collection makefile for: q4wine -# Date created: 05 Feb 2009 -# Whom: Sergey V. Dyatko -# +# Created by: Sergey V. Dyatko # $FreeBSD$ PORTNAME= q4wine @@ -31,14 +28,15 @@ MAN1= q4wine-cli.1 q4wine-helper.1 q4wine.1 USES= cmake CMAKE_ARGS+= -DMANPAGE_ENTRY_PATH=${MANPREFIX}/man/ -OPTIONS= DBUS "Enable DBus notification support" on +OPTIONS_DEFINE= DBUS +OPTIONS_DEFAULT= DBUS .include -.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: -- cgit