aboutsummaryrefslogtreecommitdiffstats
path: root/x11/keybinder
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2012-10-16 01:06:01 +0800
committerolivierd <olivierd@FreeBSD.org>2012-10-16 01:06:01 +0800
commitea020d46cb43695f4eccb9f701ec93583dcfbf4b (patch)
tree87618dc8fb3b0a5d9344ef701c069e0797205912 /x11/keybinder
parentdcf12158bd50b97f44612f2f32dd72ef8dfe0c7a (diff)
downloadfreebsd-ports-gnome-ea020d46cb43695f4eccb9f701ec93583dcfbf4b.tar.gz
freebsd-ports-gnome-ea020d46cb43695f4eccb9f701ec93583dcfbf4b.tar.zst
freebsd-ports-gnome-ea020d46cb43695f4eccb9f701ec93583dcfbf4b.zip
- Convert to OptionsNG
While here - Update maintainer address - Trim Makefile headers Approved by: rene, miwi (mentors) Feature safe: yes
Diffstat (limited to 'x11/keybinder')
-rw-r--r--x11/keybinder/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/x11/keybinder/Makefile b/x11/keybinder/Makefile
index 9accb6a433df..59215af54e4e 100644
--- a/x11/keybinder/Makefile
+++ b/x11/keybinder/Makefile
@@ -1,7 +1,3 @@
-# New ports collection makefile for: keybinder
-# Date created: 2011-02-21
-# Whom: Olivier Duchateau <duchateau.olivier@gmail.com>
-#
# $FreeBSD$
#
@@ -11,24 +7,28 @@ PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://kaizer.se/publicfiles/${PORTNAME}/
-MAINTAINER= duchateau.olivier@gmail.com
+MAINTAINER= olivierd@FreeBSD.org
COMMENT= Library for registering keyboard shortcuts
LICENSE= GPLv2
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack gtk20 pkgconfig
+USE_GNOME= gnomehack gtk20
+USE_PKGCONFIG= build
USE_LDCONFIG= yes
PORTEXAMPLES= *
-OPTIONS= PYTHON "Install Python bindings" on \
- LUA "Install Lua bindings" off
+OPTIONS_DEFINE= PYTHON LUA
+OPTIONS_DEFAULT= PYTHON
+
+# Override LUA description
+LUA_DESC= Lua bindings
.include <bsd.port.options.mk>
-.if defined(WITH_PYTHON)
+.if ${PORT_OPTIONS:MPYTHON}
USE_PYTHON= yes
USE_GNOME+= pygtk2 pygobject
PLIST_SUB+= PYTHON=""
@@ -37,7 +37,7 @@ CONFIGURE_ARGS+= --disable-python
PLIST_SUB+= PYTHON="@comment "
.endif
-.if defined(WITH_LUA)
+.if ${PORT_OPTIONS:MLUA}
USE_LUA= 5.1+
CONFIGURE_ARGS+= --with-lua-includes=${LUA_INCDIR}
PLIST_SUB+= LUA=""