diff options
author | miwi <miwi@FreeBSD.org> | 2012-05-18 12:40:24 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-05-18 12:40:24 +0800 |
commit | d329af229d9d97817d45e560640b5a60b27caab6 (patch) | |
tree | f01b294ccca6327b0c74fb004abecfa26e148d41 /misc/xdg-menu | |
parent | 28635113c390530945035a43dcea2d5aebd4d988 (diff) | |
download | freebsd-ports-graphics-d329af229d9d97817d45e560640b5a60b27caab6.tar.gz freebsd-ports-graphics-d329af229d9d97817d45e560640b5a60b27caab6.tar.zst freebsd-ports-graphics-d329af229d9d97817d45e560640b5a60b27caab6.zip |
XDG-Menu is a ROX panel applet that displays applications menu button.
Menu is builds to fit the XDG Menu Specification published by freedesktop.org.
WWW: http://xdg-menu.sourceforge.net/
PR: ports/167693
Submitted by: nemysis@gmx.ch
Diffstat (limited to 'misc/xdg-menu')
-rw-r--r-- | misc/xdg-menu/Makefile | 55 | ||||
-rw-r--r-- | misc/xdg-menu/distinfo | 2 | ||||
-rw-r--r-- | misc/xdg-menu/pkg-descr | 4 | ||||
-rw-r--r-- | misc/xdg-menu/pkg-plist | 35 |
4 files changed, 96 insertions, 0 deletions
diff --git a/misc/xdg-menu/Makefile b/misc/xdg-menu/Makefile new file mode 100644 index 00000000000..c0d76ea2b18 --- /dev/null +++ b/misc/xdg-menu/Makefile @@ -0,0 +1,55 @@ +# New Ports collection makefile for: XDG-Menu +# Date created: 2012-05-07 +# Whom: nemysis@gmx.ch +# +# $FreeBSD$ +# + +PORTNAME= menu +PORTVERSION= 1.5 +CATEGORIES= misc +MASTER_SITES= SF/xdg-menu/xdg-menu/${PORTVERSION} +PKGNAMEPREFIX= xdg- +DISTNAME= XDG-Menu-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= nemysis@gmx.ch +COMMENT= A ROX panel applet that displays an applications menu button + +LICENSE= GPLv2 + +RUN_DEPENDS= ${LOCALBASE}/bin/rox:${PORTSDIR}/x11-fm/rox-filer \ + ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg \ + ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus + +WRKSRC= ${WRKDIR}/XDG-Menu +DATADIR= ${PREFIX}/apps/XDG-Menu + +FETCH_ARGS?= -Fpr +USE_PYTHON= yes +ALL_TARGET= +NO_BUILD= yes + +OPTIONS= ROX "Enable ROX panel applet support" no + +.include <bsd.port.options.mk> + +.if defined(WITHOUT_ROX) +post-patch: + @${REINPLACE_CMD} -i '' '/if not rox.confirm/,/sys.exit/s/^/#/' ${WRKSRC}/AppRun + @${ECHO_MSG} + @${ECHO_MSG} "You have not enabled ROX panel applet support" + @${ECHO_MSG} + @${FIND} ${WRKSRC} -name "*.bak" -delete +.endif + +do-install: +# Scripts + @${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\ + ./AppRun\n" > ${WRKDIR}/xdg-menu.sh + @${INSTALL_SCRIPT} ${WRKDIR}/xdg-menu.sh ${PREFIX}/bin/xdg-menu +# Executable and Data + ${MKDIR} ${DATADIR} + @cd ${WRKSRC} && ${FIND} . | ${CPIO} -pdmu ${DATADIR} + +.include <bsd.port.mk> diff --git a/misc/xdg-menu/distinfo b/misc/xdg-menu/distinfo new file mode 100644 index 00000000000..9f07e829c26 --- /dev/null +++ b/misc/xdg-menu/distinfo @@ -0,0 +1,2 @@ +SHA256 (XDG-Menu-1.5.tgz) = 5cd62f3421032c4b619b80fde7e7cdc3230409489762e5c05ffd82d7c9c28478 +SIZE (XDG-Menu-1.5.tgz) = 32377 diff --git a/misc/xdg-menu/pkg-descr b/misc/xdg-menu/pkg-descr new file mode 100644 index 00000000000..37de2af3592 --- /dev/null +++ b/misc/xdg-menu/pkg-descr @@ -0,0 +1,4 @@ +XDG-Menu is a ROX panel applet that displays applications menu button. +Menu is builds to fit the XDG Menu Specification published by freedesktop.org. + +WWW: http://xdg-menu.sourceforge.net/ diff --git a/misc/xdg-menu/pkg-plist b/misc/xdg-menu/pkg-plist new file mode 100644 index 00000000000..183d3455f14 --- /dev/null +++ b/misc/xdg-menu/pkg-plist @@ -0,0 +1,35 @@ +apps/XDG-Menu/.DirIcon +apps/XDG-Menu/AppInfo.xml +apps/XDG-Menu/AppRun +apps/XDG-Menu/AppletRun +apps/XDG-Menu/Help/COPYING +apps/XDG-Menu/Help/ChangeLog +apps/XDG-Menu/Help/README +apps/XDG-Menu/Help/README.ru +apps/XDG-Menu/Help/TODO +apps/XDG-Menu/Makefile +apps/XDG-Menu/Messages/XDG-Menu.pot +apps/XDG-Menu/Messages/it.gmo +apps/XDG-Menu/Messages/it.po +apps/XDG-Menu/Messages/opts2po.py +apps/XDG-Menu/Messages/ru.gmo +apps/XDG-Menu/Messages/ru.po +apps/XDG-Menu/Messages/uk.gmo +apps/XDG-Menu/Messages/uk.po +apps/XDG-Menu/Options.xml +apps/XDG-Menu/findrox.py +apps/XDG-Menu/python/config.py +apps/XDG-Menu/python/ctxmenu.py +apps/XDG-Menu/python/dndsource.py +apps/XDG-Menu/python/i18n.py +apps/XDG-Menu/python/imagemenu.py +apps/XDG-Menu/python/main.py +apps/XDG-Menu/python/roxmenu.py +apps/XDG-Menu/python/xdgmenu.py +bin/xdg-menu +@dirrmtry share/applications +@dirrm apps/XDG-Menu/python +@dirrm apps/XDG-Menu/Messages +@dirrm apps/XDG-Menu/Help +@dirrm apps/XDG-Menu +@dirrmtry apps |