aboutsummaryrefslogtreecommitdiff
path: root/x11/keybinder
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2012-10-15 17:06:01 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2012-10-15 17:06:01 +0000
commit50b18cfe5f12eda5b823f491336c5b0953ac2df9 (patch)
tree87618dc8fb3b0a5d9344ef701c069e0797205912 /x11/keybinder
parent3ab73c87bd98533f9d200feee3a9274f6f3f34f1 (diff)
downloadports-50b18cfe5f12eda5b823f491336c5b0953ac2df9.tar.gz
ports-50b18cfe5f12eda5b823f491336c5b0953ac2df9.zip
- Convert to OptionsNG
While here - Update maintainer address - Trim Makefile headers Approved by: rene, miwi (mentors) Feature safe: yes
Notes
Notes: svn path=/head/; revision=305925
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=""