aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-08-06 09:41:55 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-08-06 09:41:55 +0000
commit6b90966c167d3c4b0c60a3f4ac2a95d1978cda09 (patch)
tree7ddbd4aebf7d154136e63ca0bc109895fb993c1f
parentcea206ee48bfdf984554cac18d4cb7a52cb2ed20 (diff)
downloadports-6b90966c167d3c4b0c60a3f4ac2a95d1978cda09.tar.gz
ports-6b90966c167d3c4b0c60a3f4ac2a95d1978cda09.zip
Notes
-rw-r--r--x11/xscreensaver-gnome/Makefile6
-rw-r--r--x11/xscreensaver-gnome/files/patch-driver::screensaver-properties.desktop.in12
-rw-r--r--x11/xscreensaver-gnome/files/patch-driver_Makefile.in2
-rw-r--r--x11/xscreensaver-gnome/pkg-plist1
4 files changed, 19 insertions, 2 deletions
diff --git a/x11/xscreensaver-gnome/Makefile b/x11/xscreensaver-gnome/Makefile
index 0c72e13ea663..d251d29915da 100644
--- a/x11/xscreensaver-gnome/Makefile
+++ b/x11/xscreensaver-gnome/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xscreensaver-gnome
PORTVERSION= 4.05
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= http://www.jwz.org/xscreensaver/
DISTNAME= xscreensaver-${PORTVERSION}
@@ -69,4 +69,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|malloc[.]h|stdlib.h|g' \
${WRKSRC}/hacks/glx/extrusion.c
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/utils/images/logo-50.xpm \
+ ${PREFIX}/share/gnome/pixmaps/xscreensaver.xpm
+
.include <bsd.port.mk>
diff --git a/x11/xscreensaver-gnome/files/patch-driver::screensaver-properties.desktop.in b/x11/xscreensaver-gnome/files/patch-driver::screensaver-properties.desktop.in
new file mode 100644
index 000000000000..aa2bbc2ec14c
--- /dev/null
+++ b/x11/xscreensaver-gnome/files/patch-driver::screensaver-properties.desktop.in
@@ -0,0 +1,12 @@
+
+$FreeBSD$
+
+--- driver/screensaver-properties.desktop.in 2002/08/06 08:25:53 1.1
++++ driver/screensaver-properties.desktop.in 2002/08/06 08:26:01
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Exec=xscreensaver-demo --crapplet
++Exec=xscreensaver-demo
+ TryExec=xscreensaver-demo
+ Icon=xscreensaver.xpm
+ Terminal=0
diff --git a/x11/xscreensaver-gnome/files/patch-driver_Makefile.in b/x11/xscreensaver-gnome/files/patch-driver_Makefile.in
index 45ce1a9754ee..eff4d7bf634e 100644
--- a/x11/xscreensaver-gnome/files/patch-driver_Makefile.in
+++ b/x11/xscreensaver-gnome/files/patch-driver_Makefile.in
@@ -19,7 +19,7 @@ $FreeBSD$
echo $(INSTALL_DIRS) "$(install_prefix)$(GNOME_CCDIR)" ;\
$(INSTALL_DIRS) "$(install_prefix)$(GNOME_CCDIR)" ;\
fi ;\
-+ /usr/bin/sed 's|xscreensaver-demo|screensaver-properties-capplet|' \
++ /usr/bin/sed 's|xscreensaver-demo.*|screensaver-properties-capplet|'\
+ screensaver-properties.desktop > \
+ screensaver-properties.desktop1 ;\
\
diff --git a/x11/xscreensaver-gnome/pkg-plist b/x11/xscreensaver-gnome/pkg-plist
index 96527689f335..50a1962dfe41 100644
--- a/x11/xscreensaver-gnome/pkg-plist
+++ b/x11/xscreensaver-gnome/pkg-plist
@@ -156,6 +156,7 @@ bin/xscreensaver-hacks/zoom
lib/X11/app-defaults/XScreenSaver
share/gnome/apps/Settings/Desktop/screensaver-properties.desktop
share/gnome/control-center/Desktop/screensaver-properties.desktop
+share/gnome/pixmaps/xscreensaver.xpm
share/locale/ca/LC_MESSAGES/xscreensaver.mo
share/locale/da/LC_MESSAGES/xscreensaver.mo
share/locale/de/LC_MESSAGES/xscreensaver.mo