View | Details | Raw Unified | Return to bug 206260
Collapse All | Expand All

(-)x11/keybinder/Makefile (-31 / +31 lines)
Lines 1-10 Link Here
1
# $FreeBSD: head/x11/keybinder/Makefile 393429 2015-08-02 15:03:19Z tijl $
1
# $FreeBSD: head/x11/keybinder/Makefile 393429 2015-08-02 15:03:19Z tijl $
2
2
3
PORTNAME=	keybinder
3
PORTNAME=	keybinder
4
PORTVERSION=	0.3.0
4
PORTVERSION=	0.3.1
5
PORTREVISION=	5
5
DISTVERSIONPREFIX=	v
6
CATEGORIES=	x11
6
CATEGORIES=	x11
7
MASTER_SITES=	GENTOO
8
7
9
MAINTAINER=	ports@FreeBSD.org
8
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Library for registering keyboard shortcuts
9
COMMENT=	Library for registering keyboard shortcuts
Lines 12-53 Link Here
12
LICENSE=	GPLv2
11
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
14
13
15
GNU_CONFIGURE=	yes
14
BUILD_DEPENDS=	gtkdocize:${PORTSDIR}/textproc/gtk-doc
16
CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc
15
17
USES=		gmake libtool pathfix pkgconfig
16
USE_GITHUB=	yes
17
GH_ACCOUNT=	engla
18
19
USES=		autoreconf gmake libtool pathfix pkgconfig
20
PATHFIX_MAKEFILEIN=	Makefile.am
18
USE_GNOME=	gtk20 introspection:build
21
USE_GNOME=	gtk20 introspection:build
19
USE_XORG=	x11 xext xrender
22
USE_XORG=	x11 xext xrender
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--disable-silent-rules --disable-gtk-doc
20
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
21
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
22
27
23
OPTIONS_DEFINE=	DOCS EXAMPLES PYTHON LUA
28
OPTIONS_DEFINE=		EXAMPLES LUA PYTHON
24
OPTIONS_DEFAULT=PYTHON
29
OPTIONS_DEFAULT=	PYTHON
25
OPTIONS_SUB=	yes
30
OPTIONS_SUB=		yes
26
31
27
# Override LUA description
32
# Override LUA description
28
LUA_DESC=	Lua bindings
33
LUA_DESC=		Lua bindings
29
34
LUA_USES=		lua:51
30
.include <bsd.port.options.mk>
35
LUA_CONFIGURE_ON=	--with-lua-includes=${LUA_INCDIR}
36
LUA_CONFIGURE_OFF=	--disable-lua
37
PYTHON_USES=		python:2
38
PYTHON_USE=		gnome=pygtk2
39
PYTHON_CONFIGURE_OFF=	--disable-python
40
41
pre-configure:
42
	@(cd ${CONFIGURE_WRKSRC} && ${LOCALBASE}/bin/gtkdocize)
43
44
post-build-EXAMPLES-on:
45
	@${REINPLACE_CMD} -i '' -e \
46
		's|lua5.1|lua-${LUA_VER}|g' ${WRKSRC}/examples/Makefile
31
47
32
.if ${PORT_OPTIONS:MPYTHON}
48
post-install-EXAMPLES-on:
33
USES+=		python:2
34
USE_GNOME+=	pygtk2
35
.else
36
CONFIGURE_ARGS+=	--disable-python
37
.endif
38
39
.if ${PORT_OPTIONS:MLUA}
40
USES+=		lua:51
41
CONFIGURE_ARGS+=	--with-lua-includes=${LUA_INCDIR}
42
.else
43
CONFIGURE_ARGS+=	--disable-lua
44
.endif
45
46
post-install:
47
.if ${PORT_OPTIONS:MEXAMPLES}
48
	@${REINPLACE_CMD} -i '' -e 's|lua5.1|lua-${LUA_VER}|g' ${WRKSRC}/examples/Makefile
49
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
49
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
50
	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
50
	(cd ${WRKSRC}/examples && ${INSTALL_DATA} * \
51
.endif
51
		${STAGEDIR}${EXAMPLESDIR})
52
52
53
.include <bsd.port.mk>
53
.include <bsd.port.mk>
(-)x11/keybinder/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (keybinder-0.3.0.tar.gz) = 42863ca0174d568a8c02c6fb243fee1681823825e8bcb1718c51611d8e9793bb
1
SHA256 (engla-keybinder-v0.3.1_GH0.tar.gz) = 6073bb5f626f75c4a6f25291b32673af02d47e735b56f9d471150d678ac0b5fa
2
SIZE (keybinder-0.3.0.tar.gz) = 377765
2
SIZE (engla-keybinder-v0.3.1_GH0.tar.gz) = 31727
(-)x11/keybinder/pkg-descr (-3 / +3 lines)
Lines 1-5 Link Here
1
Keybinder is a library for registering global keyboard shortcuts.  Keybinder
1
Keybinder is a library for registering global keyboard shortcuts.
2
works with GTK-based applications using the X Window System.
2
Keybinder works with GTK-based applications using the X Window System.
3
3
4
The port provides the following:
4
The port provides the following:
5
5
Lines 8-11 Link Here
8
  - Python bindings, python-keybinder
8
  - Python bindings, python-keybinder
9
  - An examples directory with programs in C, Lua, Python, and Vala
9
  - An examples directory with programs in C, Lua, Python, and Vala
10
10
11
WWW: http://kaizer.se/wiki/keybinder/
11
WWW: https://github.com/engla/keybinder
(-)x11/keybinder/pkg-plist (-15 / +1 lines)
Lines 4-28 Link Here
4
lib/libkeybinder.so.0
4
lib/libkeybinder.so.0
5
lib/libkeybinder.so.0.1.0
5
lib/libkeybinder.so.0.1.0
6
%%LUA%%%%LUA_MODLIBDIR%%/keybinder.so
6
%%LUA%%%%LUA_MODLIBDIR%%/keybinder.so
7
libdata/pkgconfig/keybinder.pc
7
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.py
8
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.py
8
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.pyc
9
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.pyc
9
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.pyo
10
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/__init__.pyo
10
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/_keybinder.so
11
%%PYTHON%%%%PYTHON_SITELIBDIR%%/keybinder/_keybinder.so
11
libdata/pkgconfig/keybinder.pc
12
%%PORTDOCS%%%%DOCSDIR%%/annotation-glossary.html
13
%%PORTDOCS%%%%DOCSDIR%%/api-index-full.html
14
%%PORTDOCS%%%%DOCSDIR%%/ch01.html
15
%%PORTDOCS%%%%DOCSDIR%%/deprecated-api-index.html
16
%%PORTDOCS%%%%DOCSDIR%%/home.png
17
%%PORTDOCS%%%%DOCSDIR%%/index.html
18
%%PORTDOCS%%%%DOCSDIR%%/index.sgml
19
%%PORTDOCS%%%%DOCSDIR%%/keybinder-keybinder.html
20
%%PORTDOCS%%%%DOCSDIR%%/keybinder.devhelp2
21
%%PORTDOCS%%%%DOCSDIR%%/left.png
22
%%PORTDOCS%%%%DOCSDIR%%/object-tree.html
23
%%PORTDOCS%%%%DOCSDIR%%/right.png
24
%%PORTDOCS%%%%DOCSDIR%%/style.css
25
%%PORTDOCS%%%%DOCSDIR%%/up.png
26
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
12
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
27
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
13
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
28
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.lua
14
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.lua

Return to bug 206260