1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Say hello to the Electric Sheep distributed screensaver.

PR:		35553
Submitted by:	David Yeske <dyeske@yahoo.com>
This commit is contained in:
Anders Nordby 2002-03-24 19:28:48 +00:00
parent 64491432c4
commit 5fd4ae2e00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56554
7 changed files with 75 additions and 0 deletions

View File

@ -22,6 +22,7 @@
SUBDIR += ebuttons
SUBDIR += ecore
SUBDIR += efancylauncher
SUBDIR += electricsheep
SUBDIR += emu
SUBDIR += erun
SUBDIR += eterm

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (electricsheep-2.1.tar.gz) = c63c7584df6a885638d05e326daab7df

View File

@ -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);

View File

@ -0,0 +1 @@
A nice distributed screensaver

View File

@ -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

View File

@ -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