aboutsummaryrefslogtreecommitdiff
path: root/misc/hotkeys
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-29 12:42:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-29 12:42:04 +0000
commit222461c302e52a3848555e999ecc7a10f98b278e (patch)
tree4fad0f8d9c328a570a49371daf5f0078d7075272 /misc/hotkeys
parentb6155c63444b79580e9bd13727472581d1ed66f1 (diff)
downloadports-222461c302e52a3848555e999ecc7a10f98b278e.tar.gz
ports-222461c302e52a3848555e999ecc7a10f98b278e.zip
Convert to new option framework
Notes
Notes: svn path=/head/; revision=300215
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>