aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2013-11-08 00:13:47 +0800
committernemysis <nemysis@FreeBSD.org>2013-11-08 00:13:47 +0800
commit4bad9c0e203467761ebfce21dce2773230ea2e3a (patch)
tree696b0765218ed53adbb34efe62c3497b32a8c962 /misc
parentbc3e068bf481f8275945374667cec1b4c48fef05 (diff)
downloadfreebsd-ports-gnome-4bad9c0e203467761ebfce21dce2773230ea2e3a.tar.gz
freebsd-ports-gnome-4bad9c0e203467761ebfce21dce2773230ea2e3a.tar.zst
freebsd-ports-gnome-4bad9c0e203467761ebfce21dce2773230ea2e3a.zip
- Change master sites
- Change maintainer email to @FreeBSD.org - Support STAGEDIR Approved by: pawel / wg (mentors, implicit)
Diffstat (limited to 'misc')
-rw-r--r--misc/xdg-menu/Makefile24
-rw-r--r--misc/xdg-menu/pkg-plist2
2 files changed, 9 insertions, 17 deletions
diff --git a/misc/xdg-menu/Makefile b/misc/xdg-menu/Makefile
index 70eaeeda748c..1c213597d4e0 100644
--- a/misc/xdg-menu/Makefile
+++ b/misc/xdg-menu/Makefile
@@ -6,13 +6,13 @@ PORTVERSION= 1.5
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
- SF/nemysisfreebsdp/:icons
+ SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= XDG-Menu-${DISTVERSION}.tgz \
${PORTNAME}.png:icons
DIST_SUBDIR= python
EXTRACT_ONLY= XDG-Menu-${DISTVERSION}.tgz
-MAINTAINER= nemysis@gmx.ch
+MAINTAINER= nemysis@FreeBSD.org
COMMENT= ROX panel applet that displays an applications menu button
LICENSE= GPLv2
@@ -37,7 +37,6 @@ ROX_DESC= Enable ROX panel applet support
SUB_FILES= ${PORTNAME}
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -56,20 +55,15 @@ do-build:
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- ${MKDIR} ${DATADIR}
- @(cd ${WRKSRC} && ${CP} -r Messages .DirIcon AppInfo.xml AppRun AppletRun \
- Options.xml Messages python *.py *.pyc *.pyo ${DATADIR})
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ (cd ${WRKSRC} && ${CP} -r Messages .DirIcon AppInfo.xml AppRun AppletRun \
+ Options.xml Messages python *.py *.pyc *.pyo ${STAGEDIR}${DATADIR})
- ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/Help/|} ${DOCSDIR}
-.endif
-
-post-install:
- @-update-desktop-database
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/Help/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/misc/xdg-menu/pkg-plist b/misc/xdg-menu/pkg-plist
index f0e180925156..d821ee3ddd62 100644
--- a/misc/xdg-menu/pkg-plist
+++ b/misc/xdg-menu/pkg-plist
@@ -46,5 +46,3 @@ share/pixmaps/xdg-menu.png
@dirrm apps/XDG-Menu/Messages
@dirrm apps/XDG-Menu
@dirrmtry apps
-@exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true