aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-03-26 05:47:11 +0800
committerjgh <jgh@FreeBSD.org>2013-03-26 05:47:11 +0800
commit477a5c6e915c65b31d4eb334be3a6cfdd7cce880 (patch)
treef43dca217a41ed82336555511caba62b6e9e12f2 /deskutils
parenteacd7f6bdf6f2402a517a323ee19015f5d3b41c0 (diff)
downloadfreebsd-ports-gnome-477a5c6e915c65b31d4eb334be3a6cfdd7cce880.tar.gz
freebsd-ports-gnome-477a5c6e915c65b31d4eb334be3a6cfdd7cce880.tar.zst
freebsd-ports-gnome-477a5c6e915c65b31d4eb334be3a6cfdd7cce880.zip
- adopt optionsNG
- trim historical header Approved by: portmgr (miwi)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/q4wine/Makefile14
1 files changed, 6 insertions, 8 deletions
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 <sergey.dyatko@gmail.com>
-#
+# Created by: Sergey V. Dyatko <sergey.dyatko@gmail.com>
# $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 <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: