summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-03-19 18:37:45 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-03-19 18:37:45 +0000
commita2052e3d68efe42aab6cd813db30f22a0af04e51 (patch)
tree4fc887e68f2633f8d811a0535e7c89290fb1c39c /deskutils
parent- update to 2.51.20050319 (diff)
- 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
Notes
Notes: svn path=/head/; revision=131648
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/splashsetter/Makefile26
-rw-r--r--deskutils/splashsetter/files/patch-splashsetter.desktop10
-rw-r--r--deskutils/splashsetter/pkg-plist1
3 files changed, 25 insertions, 12 deletions
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 <bsd.port.mk>
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