aboutsummaryrefslogtreecommitdiffstats
path: root/misc/hotkeys
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-06-29 20:42:04 +0800
committerbapt <bapt@FreeBSD.org>2012-06-29 20:42:04 +0800
commit42034a997e9bbb7dd2e66f6719377aebbe4c7abd (patch)
tree44dc0e86776cb3ba9a994d27c2ee2b7a934bcdd2 /misc/hotkeys
parentff094d05cd8d446e528963491389242e738416e1 (diff)
downloadfreebsd-ports-gnome-42034a997e9bbb7dd2e66f6719377aebbe4c7abd.tar.gz
freebsd-ports-gnome-42034a997e9bbb7dd2e66f6719377aebbe4c7abd.tar.zst
freebsd-ports-gnome-42034a997e9bbb7dd2e66f6719377aebbe4c7abd.zip
Convert to new option framework
Diffstat (limited to 'misc/hotkeys')
-rw-r--r--misc/hotkeys/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/misc/hotkeys/Makefile b/misc/hotkeys/Makefile
index 8203730a1150..1883e181a722 100644
--- a/misc/hotkeys/Makefile
+++ b/misc/hotkeys/Makefile
@@ -28,11 +28,12 @@ USE_GMAKE= yes
MAN1= hotkeys.1
-OPTIONS= XOSD "Enable On-Screen-Display support" on
+OPTIONS_DEFINE= OSD
+OPTIONS_DEFAULT= OSD
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_XOSD)
+.if ${PORT_OPTIONS:MOSD}
LIB_DEPENDS+= xosd.4:${PORTSDIR}/misc/xosd
CONFIGURE_ARGS+= --with-xosd
.endif
@@ -53,4 +54,4 @@ post-install:
fi
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>