diff options
author | anders <anders@FreeBSD.org> | 2002-03-25 03:28:48 +0800 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2002-03-25 03:28:48 +0800 |
commit | 24b1f316e16c6bd528eafdc8d163e958436b6943 (patch) | |
tree | ecda00d8de348657b1abd3b1bec88b997ad49284 /x11 | |
parent | 3a60eca353d34cc2a2dae834cd13260c7cb021b6 (diff) | |
download | freebsd-ports-gnome-24b1f316e16c6bd528eafdc8d163e958436b6943.tar.gz freebsd-ports-gnome-24b1f316e16c6bd528eafdc8d163e958436b6943.tar.zst freebsd-ports-gnome-24b1f316e16c6bd528eafdc8d163e958436b6943.zip |
Say hello to the Electric Sheep distributed screensaver.
PR: 35553
Submitted by: David Yeske <dyeske@yahoo.com>
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/electricsheep/Makefile | 40 | ||||
-rw-r--r-- | x11/electricsheep/distinfo | 1 | ||||
-rw-r--r-- | x11/electricsheep/files/patch-electricsheep.c | 12 | ||||
-rw-r--r-- | x11/electricsheep/pkg-comment | 1 | ||||
-rw-r--r-- | x11/electricsheep/pkg-descr | 11 | ||||
-rw-r--r-- | x11/electricsheep/pkg-plist | 9 |
7 files changed, 75 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index 475ed1240148..1e21c83aa363 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -22,6 +22,7 @@ SUBDIR += ebuttons SUBDIR += ecore SUBDIR += efancylauncher + SUBDIR += electricsheep SUBDIR += emu SUBDIR += erun SUBDIR += eterm diff --git a/x11/electricsheep/Makefile b/x11/electricsheep/Makefile new file mode 100644 index 000000000000..b6f749042652 --- /dev/null +++ b/x11/electricsheep/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: electricsheep +# Date created: 11 Feb 2002 +# Whom: David Yeske <dyeske@yahoo.com> +# +# $FreeBSD$ +# + +PORTNAME= electricsheep +PORTVERSION= 2.1 +CATEGORIES= x11 +MASTER_SITES= http://www-2.cs.cmu.edu/~spot/cache/ + +MAINTAINER= dyeske@yahoo.com + +LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg +RUN_DEPENDS= xloadimage:${PORTSDIR}/x11/xloadimage \ + xsetbg:${PORTSDIR}/graphics/xli \ + curl:${PORTSDIR}/ftp/curl + +USE_X_PREFIX= yes +GNU_CONFIGURE= yes + +pre-patch: + @${PERL} -pi -e 's|/usr/include/X11|${X11BASE}/include|g; \ + s|/usr/lib/libjpeg.so.62|${LOCALBASE}/lib/libjpeg.so|g;' \ + ${WRKSRC}/video_out/Makefile + +post-patch: + @${PERL} -pi -e 's|/usr/local/share|${PREFIX}/share/electricsheep|g;' \ + ${WRKSRC}/electricsheep.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/electricsheep ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/flame/anim-flame ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/flame/pick-flame ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/video_out/mpeg_play ${PREFIX}/bin/mpeg-loop + ${INSTALL} -d -m 0755 ${PREFIX}/share/electricsheep + ${INSTALL_DATA} ${WRKSRC}/*.tif ${PREFIX}/share/electricsheep + +.include <bsd.port.mk> diff --git a/x11/electricsheep/distinfo b/x11/electricsheep/distinfo new file mode 100644 index 000000000000..8c3d77835ac2 --- /dev/null +++ b/x11/electricsheep/distinfo @@ -0,0 +1 @@ +MD5 (electricsheep-2.1.tar.gz) = c63c7584df6a885638d05e326daab7df diff --git a/x11/electricsheep/files/patch-electricsheep.c b/x11/electricsheep/files/patch-electricsheep.c new file mode 100644 index 000000000000..e4f21a9b0085 --- /dev/null +++ b/x11/electricsheep/files/patch-electricsheep.c @@ -0,0 +1,12 @@ +$FreeBSD$ +--- electricsheep.c.orig Tue Jul 3 14:55:00 2001 ++++ electricsheep.c Tue Feb 12 12:58:42 2002 +@@ -1223,7 +1223,7 @@ + + /* create our own group so all workers/children may be killed together + without hassle */ +- if (-1 == setpgrp()) ++ if (-1 == setpgrp(getpid(), getpid())) + perror("setpgrp"); + signal(SIGTERM, handle_sig_term); + signal(SIGINT, handle_sig_term); diff --git a/x11/electricsheep/pkg-comment b/x11/electricsheep/pkg-comment new file mode 100644 index 000000000000..e50d8687efde --- /dev/null +++ b/x11/electricsheep/pkg-comment @@ -0,0 +1 @@ +A nice distributed screensaver diff --git a/x11/electricsheep/pkg-descr b/x11/electricsheep/pkg-descr new file mode 100644 index 000000000000..89e8e7e71efd --- /dev/null +++ b/x11/electricsheep/pkg-descr @@ -0,0 +1,11 @@ +Electricsheep is a distributed screensaver. It realizes the +collective dream of sleeping computers from all over the internet. +When the screen-saver is activated, the screen goes black and an +animated 'sheep' appears. Behind the scenes, the screen-saver +contacts an internet server and joins the parallel computation of +new sheep. + +WWW: http://www.electricsheep.org/ + +- David +dyeske@yahoo.com diff --git a/x11/electricsheep/pkg-plist b/x11/electricsheep/pkg-plist new file mode 100644 index 000000000000..f9e986a17056 --- /dev/null +++ b/x11/electricsheep/pkg-plist @@ -0,0 +1,9 @@ +bin/electricsheep +bin/anim-flame +bin/pick-flame +bin/mpeg-loop +share/electricsheep/electricsheep-frown.tif +share/electricsheep/electricsheep-smile.tif +share/electricsheep/electricsheep-splash-0.tif +share/electricsheep/electricsheep-splash-1.tif +@dirrm share/electricsheep |