mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- 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)
This commit is contained in:
parent
dee3720129
commit
75aa261f58
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330913
@ -1,14 +1,17 @@
|
||||
# Created by: Doug Barton <dougb@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= obmenu
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= nemysis@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>
|
||||
|
19
x11-wm/obmenu/files/pkg-message.in
Normal file
19
x11-wm/obmenu/files/pkg-message.in
Normal file
@ -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!
|
||||
|
||||
===============================================================================
|
@ -9,6 +9,5 @@ bin/obmenu
|
||||
%%DATADIR%%/mnu16.png
|
||||
%%DATADIR%%/mnu48.png
|
||||
%%DATADIR%%/obmenu.glade
|
||||
share/pixmaps/obmenu.png
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%
|
||||
@dirrmtry %%PYTHON_LIBDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user