svn commit: r406897 - head/x11/keybinder

Olivier Duchateau olivierd at FreeBSD.org
Fri Jan 22 10:05:59 UTC 2016


Author: olivierd
Date: Fri Jan 22 10:05:58 2016
New Revision: 406897
URL: https://svnweb.freebsd.org/changeset/ports/406897

Log:
  Update to 0.3.1
  
  PR:		206260
  Submitted by:	<tkato432 at yahoo.com>

Modified:
  head/x11/keybinder/Makefile
  head/x11/keybinder/distinfo
  head/x11/keybinder/pkg-descr
  head/x11/keybinder/pkg-plist

Modified: head/x11/keybinder/Makefile
==============================================================================
--- head/x11/keybinder/Makefile	Fri Jan 22 09:53:01 2016	(r406896)
+++ head/x11/keybinder/Makefile	Fri Jan 22 10:05:58 2016	(r406897)
@@ -1,10 +1,9 @@
 # $FreeBSD$
 
 PORTNAME=	keybinder
-PORTVERSION=	0.3.0
-PORTREVISION=	5
+PORTVERSION=	0.3.1
+DISTVERSIONPREFIX=	v
 CATEGORIES=	x11
-MASTER_SITES=	GENTOO
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Library for registering keyboard shortcuts
@@ -12,42 +11,43 @@ COMMENT=	Library for registering keyboar
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc
-USES=		gmake libtool pathfix pkgconfig
+BUILD_DEPENDS=	gtkdocize:${PORTSDIR}/textproc/gtk-doc
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	engla
+
+USES=		autoreconf gmake libtool pathfix pkgconfig
+PATHFIX_MAKEFILEIN=	Makefile.am
 USE_GNOME=	gtk20 introspection:build
 USE_XORG=	x11 xext xrender
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-silent-rules --disable-gtk-doc
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	DOCS EXAMPLES PYTHON LUA
-OPTIONS_DEFAULT=PYTHON
-OPTIONS_SUB=	yes
+OPTIONS_DEFINE=		EXAMPLES LUA PYTHON
+OPTIONS_DEFAULT=	PYTHON
+OPTIONS_SUB=		yes
 
 # Override LUA description
-LUA_DESC=	Lua bindings
-
-.include <bsd.port.options.mk>
+LUA_DESC=		Lua bindings
+LUA_USES=		lua:51
+LUA_CONFIGURE_ON=	--with-lua-includes=${LUA_INCDIR}
+LUA_CONFIGURE_OFF=	--disable-lua
+PYTHON_USES=		python:2
+PYTHON_USE=		gnome=pygtk2
+PYTHON_CONFIGURE_OFF=	--disable-python
+
+pre-configure:
+	@(cd ${CONFIGURE_WRKSRC} && ${LOCALBASE}/bin/gtkdocize)
+
+post-build-EXAMPLES-on:
+	@${REINPLACE_CMD} -i '' -e \
+		's|lua5.1|lua-${LUA_VER}|g' ${WRKSRC}/examples/Makefile
 
-.if ${PORT_OPTIONS:MPYTHON}
-USES+=		python:2
-USE_GNOME+=	pygtk2
-.else
-CONFIGURE_ARGS+=	--disable-python
-.endif
-
-.if ${PORT_OPTIONS:MLUA}
-USES+=		lua:51
-CONFIGURE_ARGS+=	--with-lua-includes=${LUA_INCDIR}
-.else
-CONFIGURE_ARGS+=	--disable-lua
-.endif
-
-post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${REINPLACE_CMD} -i '' -e 's|lua5.1|lua-${LUA_VER}|g' ${WRKSRC}/examples/Makefile
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
-.endif
+	(cd ${WRKSRC}/examples && ${INSTALL_DATA} * \
+		${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>

Modified: head/x11/keybinder/distinfo
==============================================================================
--- head/x11/keybinder/distinfo	Fri Jan 22 09:53:01 2016	(r406896)
+++ head/x11/keybinder/distinfo	Fri Jan 22 10:05:58 2016	(r406897)
@@ -1,2 +1,2 @@
-SHA256 (keybinder-0.3.0.tar.gz) = 42863ca0174d568a8c02c6fb243fee1681823825e8bcb1718c51611d8e9793bb
-SIZE (keybinder-0.3.0.tar.gz) = 377765
+SHA256 (engla-keybinder-v0.3.1_GH0.tar.gz) = 6073bb5f626f75c4a6f25291b32673af02d47e735b56f9d471150d678ac0b5fa
+SIZE (engla-keybinder-v0.3.1_GH0.tar.gz) = 31727

Modified: head/x11/keybinder/pkg-descr
==============================================================================
--- head/x11/keybinder/pkg-descr	Fri Jan 22 09:53:01 2016	(r406896)
+++ head/x11/keybinder/pkg-descr	Fri Jan 22 10:05:58 2016	(r406897)
@@ -1,5 +1,5 @@
-Keybinder is a library for registering global keyboard shortcuts.  Keybinder
-works with GTK-based applications using the X Window System.
+Keybinder is a library for registering global keyboard shortcuts.
+Keybinder works with GTK-based applications using the X Window System.
 
 The port provides the following:
 
@@ -8,4 +8,4 @@ The port provides the following:
   - Python bindings, python-keybinder
   - An examples directory with programs in C, Lua, Python, and Vala
 
-WWW: http://kaizer.se/wiki/keybinder/
+WWW: https://github.com/engla/keybinder

Modified: head/x11/keybinder/pkg-plist
==============================================================================
--- head/x11/keybinder/pkg-plist	Fri Jan 22 09:53:01 2016	(r406896)
+++ head/x11/keybinder/pkg-plist	Fri Jan 22 10:05:58 2016	(r406897)
@@ -4,25 +4,11 @@ lib/libkeybinder.so
 lib/libkeybinder.so.0
 lib/libkeybinder.so.0.1.0
 %%LUA%%%%LUA_MODLIBDIR%%/keybinder.so
+libdata/pkgconfig/keybinder.pc
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.py
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.pyc
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.pyo
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/_keybinder.so
-libdata/pkgconfig/keybinder.pc
-%%PORTDOCS%%%%DOCSDIR%%/annotation-glossary.html
-%%PORTDOCS%%%%DOCSDIR%%/api-index-full.html
-%%PORTDOCS%%%%DOCSDIR%%/ch01.html
-%%PORTDOCS%%%%DOCSDIR%%/deprecated-api-index.html
-%%PORTDOCS%%%%DOCSDIR%%/home.png
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/index.sgml
-%%PORTDOCS%%%%DOCSDIR%%/keybinder-keybinder.html
-%%PORTDOCS%%%%DOCSDIR%%/keybinder.devhelp2
-%%PORTDOCS%%%%DOCSDIR%%/left.png
-%%PORTDOCS%%%%DOCSDIR%%/object-tree.html
-%%PORTDOCS%%%%DOCSDIR%%/right.png
-%%PORTDOCS%%%%DOCSDIR%%/style.css
-%%PORTDOCS%%%%DOCSDIR%%/up.png
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.lua


More information about the svn-ports-head mailing list