svn commit: r312898 - in head/x11-wm: . obkey
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Feb 25 02:16:31 UTC 2013
Author: danfe
Date: Mon Feb 25 02:16:30 2013
New Revision: 312898
URL: http://svnweb.freebsd.org/changeset/ports/312898
Log:
Add obkey 1.0, a hotkey editor for Openbox window manager.
PR: ports/175606
Submitted by: Uffe Jakobsen
Added:
head/x11-wm/obkey/
head/x11-wm/obkey/Makefile (contents, props changed)
head/x11-wm/obkey/distinfo (contents, props changed)
head/x11-wm/obkey/pkg-descr (contents, props changed)
head/x11-wm/obkey/pkg-plist (contents, props changed)
Modified:
head/x11-wm/Makefile
Modified: head/x11-wm/Makefile
==============================================================================
--- head/x11-wm/Makefile Mon Feb 25 02:13:41 2013 (r312897)
+++ head/x11-wm/Makefile Mon Feb 25 02:16:30 2013 (r312898)
@@ -125,6 +125,7 @@
SUBDIR += mutter
SUBDIR += nickleby
SUBDIR += obconf
+ SUBDIR += obkey
SUBDIR += obmenu
SUBDIR += obpager
SUBDIR += olvwm
Added: head/x11-wm/obkey/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/obkey/Makefile Mon Feb 25 02:16:30 2013 (r312898)
@@ -0,0 +1,39 @@
+# Created by: Uffe Jakobsen <uffe at uffe.org>
+# $FreeBSD$
+
+PORTNAME= obkey
+PORTVERSION= 1.0
+CATEGORIES= x11-wm python
+MASTER_SITES= GOOGLE_CODE
+
+MAINTAINER= uffe at 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 <bsd.port.options.mk>
+
+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 <bsd.port.mk>
Added: head/x11-wm/obkey/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/obkey/distinfo Mon Feb 25 02:16:30 2013 (r312898)
@@ -0,0 +1,2 @@
+SHA256 (obkey-1.0.tar.gz) = 15c72b083cb37550cc21924d22d17a98da6ff86e6b91306b49ae3403e161dfbd
+SIZE (obkey-1.0.tar.gz) = 18146
Added: head/x11-wm/obkey/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/obkey/pkg-descr Mon Feb 25 02:16:30 2013 (r312898)
@@ -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/
Added: head/x11-wm/obkey/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/obkey/pkg-plist Mon Feb 25 02:16:30 2013 (r312898)
@@ -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
+ at dirrm share/obkey/icons
+ at dirrm share/obkey
+ at dirrmtry share/applications
More information about the svn-ports-head
mailing list