From 21abad4f107c8fbafb271475e6b737aa34b4d9c7 Mon Sep 17 00:00:00 2001 From: danfe Date: Mon, 25 Feb 2013 02:16:30 +0000 Subject: Add obkey 1.0, a hotkey editor for Openbox window manager. PR: ports/175606 Submitted by: Uffe Jakobsen --- x11-wm/Makefile | 1 + x11-wm/obkey/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ x11-wm/obkey/distinfo | 2 ++ x11-wm/obkey/pkg-descr | 4 ++++ x11-wm/obkey/pkg-plist | 11 +++++++++++ 5 files changed, 57 insertions(+) create mode 100644 x11-wm/obkey/Makefile create mode 100644 x11-wm/obkey/distinfo create mode 100644 x11-wm/obkey/pkg-descr create mode 100644 x11-wm/obkey/pkg-plist diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 9a23a6683bfe..80a9d490f8be 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -125,6 +125,7 @@ SUBDIR += mutter SUBDIR += nickleby SUBDIR += obconf + SUBDIR += obkey SUBDIR += obmenu SUBDIR += obpager SUBDIR += olvwm diff --git a/x11-wm/obkey/Makefile b/x11-wm/obkey/Makefile new file mode 100644 index 000000000000..fab95e76634c --- /dev/null +++ b/x11-wm/obkey/Makefile @@ -0,0 +1,39 @@ +# Created by: Uffe Jakobsen +# $FreeBSD$ + +PORTNAME= obkey +PORTVERSION= 1.0 +CATEGORIES= x11-wm python +MASTER_SITES= GOOGLE_CODE + +MAINTAINER= uffe@uffe.org +COMMENT= Openbox hotkey editor, written in Python and PyGTK + +LICENSE= MIT + +RUN_DEPENDS= py2[67]-gtk>=2.14:${PORTSDIR}/x11-toolkits/py-gtk2 + +USE_GETTEXT= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PORTDOCS= NEWS + +OPTIONS_DEFINE= DOCS + +.include + +post-patch: + @${REINPLACE_CMD} -e 's,python,env &,' \ + ${WRKSRC}/obkey ${WRKSRC}/obkey_classes.py + @${REINPLACE_CMD} -e '/config_prefix/s,/usr,${LOCALBASE},' \ + ${WRKSRC}/obkey_classes.py + +post-install: + @${MKDIR} ${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/misc/obkey.desktop ${DESKTOPDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR} +.endif + +.include diff --git a/x11-wm/obkey/distinfo b/x11-wm/obkey/distinfo new file mode 100644 index 000000000000..dc8d84f4a242 --- /dev/null +++ b/x11-wm/obkey/distinfo @@ -0,0 +1,2 @@ +SHA256 (obkey-1.0.tar.gz) = 15c72b083cb37550cc21924d22d17a98da6ff86e6b91306b49ae3403e161dfbd +SIZE (obkey-1.0.tar.gz) = 18146 diff --git a/x11-wm/obkey/pkg-descr b/x11-wm/obkey/pkg-descr new file mode 100644 index 000000000000..65e74bca9f71 --- /dev/null +++ b/x11-wm/obkey/pkg-descr @@ -0,0 +1,4 @@ +ObKey is a hotkey editor for Openbox window manager, written in Python and +PyGTK. The latest version is 1.0 (looks stable). Development is halted. + +WWW: https://code.google.com/p/obkey/ diff --git a/x11-wm/obkey/pkg-plist b/x11-wm/obkey/pkg-plist new file mode 100644 index 000000000000..99365c99cf65 --- /dev/null +++ b/x11-wm/obkey/pkg-plist @@ -0,0 +1,11 @@ +bin/obkey +%%PYTHON_SITELIBDIR%%/obkey_classes.py +%%PYTHON_SITELIBDIR%%/obkey_classes.pyc +%%PYTHON_SITELIBDIR%%/obkey_classes.pyo +share/locale/uk/LC_MESSAGES/obkey.mo +share/applications/obkey.desktop +share/obkey/icons/add_child.png +share/obkey/icons/add_sibling.png +@dirrm share/obkey/icons +@dirrm share/obkey +@dirrmtry share/applications -- cgit