svn commit: r330913 - in head/x11-wm/obmenu: . files
Rusmir Dusko
nemysis at FreeBSD.org
Sat Oct 19 17:00:06 UTC 2013
Author: nemysis
Date: Sat Oct 19 17:00:05 2013
New Revision: 330913
URL: http://svnweb.freebsd.org/changeset/ports/330913
Log:
- Change Makefile header
- Bump PORTREVISION
- Pass maintainership to submitter
- Add license (GPLv2)
- Support STAGEDIR
- Add Desktop entry file and pkg-message
PR: ports/175944
Submitted by: nemysis (self)
Approved by: pawel (mentor)
Added:
head/x11-wm/obmenu/files/
head/x11-wm/obmenu/files/pkg-message.in (contents, props changed)
Modified:
head/x11-wm/obmenu/Makefile (contents, props changed)
head/x11-wm/obmenu/pkg-plist (contents, props changed)
Modified: head/x11-wm/obmenu/Makefile
==============================================================================
--- head/x11-wm/obmenu/Makefile Sat Oct 19 16:58:27 2013 (r330912)
+++ head/x11-wm/obmenu/Makefile Sat Oct 19 17:00:05 2013 (r330913)
@@ -1,14 +1,17 @@
+# Created by: Doug Barton <dougb at FreeBSD.org>
# $FreeBSD$
PORTNAME= obmenu
PORTVERSION= 1.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11-wm
MASTER_SITES= SF
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= nemysis at FreeBSD.org
COMMENT= Menu manager for Openbox supporting both static and pipe menus
+LICENSE= GPLv2
+
USE_GNOME= pygtk2
USE_PYTHON= yes
USE_PYDISTUTILS= yes
@@ -16,13 +19,18 @@ PYDISTUTILS_PKGNAME= obMenu
PORTDOCS= README
-NO_STAGE= yes
+SUB_FILES= pkg-message
+
+DESKTOP_ENTRIES="Obmenu" "Menu manager for Openbox" ${PORTNAME} \
+ "${PORTNAME}" "Settings;" false
+
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.endif
+ ${LN} -sf ${DATADIR}/mnu48.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
.include <bsd.port.mk>
Added: head/x11-wm/obmenu/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/obmenu/files/pkg-message.in Sat Oct 19 17:00:05 2013 (r330913)
@@ -0,0 +1,19 @@
+===============================================================================
+
+Obmenu has been installed.
+
+If you don't have ~/.config/openbox/menu.xml
+
+the Obmenu config can be copied, please type as user:
+
+ su user
+
+ cp %%LOCALBASE%%/etc/xdg/openbox/menu.xml ~/.config/openbox/menu.xml
+
+ chmod 644 ~/.config/openbox/menu.xml
+
+ exit
+
+Have fun!
+
+===============================================================================
Modified: head/x11-wm/obmenu/pkg-plist
==============================================================================
--- head/x11-wm/obmenu/pkg-plist Sat Oct 19 16:58:27 2013 (r330912)
+++ head/x11-wm/obmenu/pkg-plist Sat Oct 19 17:00:05 2013 (r330913)
@@ -9,6 +9,5 @@ bin/obmenu
%%DATADIR%%/mnu16.png
%%DATADIR%%/mnu48.png
%%DATADIR%%/obmenu.glade
+share/pixmaps/obmenu.png
@dirrm %%DATADIR%%
- at dirrmtry %%PYTHON_SITELIBDIR%%
- at dirrmtry %%PYTHON_LIBDIR%%
More information about the svn-ports-all
mailing list