diff options
author | danfe <danfe@FreeBSD.org> | 2013-02-25 10:16:30 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-02-25 10:16:30 +0800 |
commit | 21abad4f107c8fbafb271475e6b737aa34b4d9c7 (patch) | |
tree | 84dfcaee9f5831a83d58cafc7935e00ada0a244e | |
parent | c0493d16921102895e75e0ba51daf0c1cfa14b78 (diff) | |
download | freebsd-ports-gnome-21abad4f107c8fbafb271475e6b737aa34b4d9c7.tar.gz freebsd-ports-gnome-21abad4f107c8fbafb271475e6b737aa34b4d9c7.tar.zst freebsd-ports-gnome-21abad4f107c8fbafb271475e6b737aa34b4d9c7.zip |
Add obkey 1.0, a hotkey editor for Openbox window manager.
PR: ports/175606
Submitted by: Uffe Jakobsen
-rw-r--r-- | x11-wm/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/obkey/Makefile | 39 | ||||
-rw-r--r-- | x11-wm/obkey/distinfo | 2 | ||||
-rw-r--r-- | x11-wm/obkey/pkg-descr | 4 | ||||
-rw-r--r-- | x11-wm/obkey/pkg-plist | 11 |
5 files changed, 57 insertions, 0 deletions
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 <uffe@uffe.org> +# $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 <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> 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 |