From a2052e3d68efe42aab6cd813db30f22a0af04e51 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Sat, 19 Mar 2005 18:37:45 +0000 Subject: - show the menu-icon which disappeared in gnome 2.10 - s/X11BASE/PREFIX/ to respect PREFIX - Add gnomeprefix to create gnomedirs PR: ports/78951 Submitted by: maintainer --- deskutils/splashsetter/Makefile | 26 ++++++++++++---------- .../splashsetter/files/patch-splashsetter.desktop | 10 +++++++++ deskutils/splashsetter/pkg-plist | 1 + 3 files changed, 25 insertions(+), 12 deletions(-) create mode 100644 deskutils/splashsetter/files/patch-splashsetter.desktop (limited to 'deskutils') diff --git a/deskutils/splashsetter/Makefile b/deskutils/splashsetter/Makefile index 6efaecdb6f69..38d6ae21d8ea 100644 --- a/deskutils/splashsetter/Makefile +++ b/deskutils/splashsetter/Makefile @@ -7,7 +7,7 @@ PORTNAME= splashsetter PORTVERSION= 0.6.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils gnome MASTER_SITES= http://webonaut.com/distfiles/${PORTNAME}/ @@ -18,10 +18,10 @@ USE_BZIP2= yes USE_X_PREFIX= yes USE_REINPLACE= yes USE_PYTHON= yes -USE_GNOME= pygnome2 +USE_GNOME= pygnome2 gnomeprefix do-build: - @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \ + @${REINPLACE_CMD} -e 's|/usr/X11R6|${PREFIX}|g' \ ${WRKSRC}/*.py @${FIND} ${WRKSRC} -name '*.bak' -delete @${FIND} ${WRKSRC} -name '*.orig' -delete @@ -29,19 +29,21 @@ do-build: @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} do-install: - ${MKDIR} ${X11BASE}/share/gnome/pixmaps/${PORTNAME}/splash - ${MKDIR} ${X11BASE}/libexec/${PORTNAME} + ${MKDIR} ${PREFIX}/share/gnome/pixmaps/${PORTNAME}/splash + ${MKDIR} ${PREFIX}/libexec/${PORTNAME} @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \ - ${X11BASE}/libexec/${PORTNAME}/ + ${PREFIX}/libexec/${PORTNAME}/ @${INSTALL_DATA} ${WRKSRC}/*.py* \ - ${X11BASE}/libexec/${PORTNAME}/ + ${PREFIX}/libexec/${PORTNAME}/ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \ - ${X11BASE}/share/gnome/applications/ + ${PREFIX}/share/gnome/applications/ @${INSTALL_DATA} ${WRKSRC}/*.svg \ - ${X11BASE}/share/gnome/pixmaps/${PORTNAME}/ + ${PREFIX}/share/gnome/pixmaps/${PORTNAME}/ + @${INSTALL_DATA} ${WRKSRC}/splashsetter_icon.svg \ + ${PREFIX}/share/gnome/pixmaps/${PORTNAME}.svg @${INSTALL_DATA} ${WRKSRC}/*.png \ - ${X11BASE}/share/gnome/pixmaps/${PORTNAME}/splash/ - @${LN} -sf ${X11BASE}/libexec/${PORTNAME}/${PORTNAME} \ - ${X11BASE}/bin/${PORTNAME} + ${PREFIX}/share/gnome/pixmaps/${PORTNAME}/splash/ + @${LN} -sf ${PREFIX}/libexec/${PORTNAME}/${PORTNAME} \ + ${PREFIX}/bin/${PORTNAME} .include diff --git a/deskutils/splashsetter/files/patch-splashsetter.desktop b/deskutils/splashsetter/files/patch-splashsetter.desktop new file mode 100644 index 000000000000..5444a965c5fc --- /dev/null +++ b/deskutils/splashsetter/files/patch-splashsetter.desktop @@ -0,0 +1,10 @@ +--- splashsetter.desktop.orig Thu Mar 17 18:07:21 2005 ++++ splashsetter.desktop Thu Mar 17 18:08:20 2005 +@@ -4,6 +4,6 @@ + Exec=splashsetter + Terminal=false + Type=Application +-Icon=splashsetter/splashsetter_icon.svg ++Icon=splashsetter.svg + Categories=Application; + StartupNotify=true diff --git a/deskutils/splashsetter/pkg-plist b/deskutils/splashsetter/pkg-plist index edb22d72e02a..69c7759a178a 100644 --- a/deskutils/splashsetter/pkg-plist +++ b/deskutils/splashsetter/pkg-plist @@ -10,6 +10,7 @@ libexec/splashsetter/splash_set_gui_lib.pyc libexec/splashsetter/splash_set_gui_lib.pyo libexec/splashsetter/splashsetter share/gnome/applications/splashsetter.desktop +share/gnome/pixmaps/splashsetter.svg share/gnome/pixmaps/splashsetter/splashsetter_icon.svg share/gnome/pixmaps/splashsetter/splashsetter_logo.svg share/gnome/pixmaps/splashsetter/splash/splashsetter_splash.png -- cgit v1.2.3