aboutsummaryrefslogtreecommitdiffstats
path: root/astro/gdesklets-seti
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-11-19 04:13:12 +0800
committermarcus <marcus@FreeBSD.org>2003-11-19 04:13:12 +0800
commite34626d8d77305eb29ea83adae58150dbcfe03ce (patch)
treeeb24de5d267352009021ade1caa3affcf40f01c0 /astro/gdesklets-seti
parentfa67054e8fbb729ed6f79a39e364c6b6df0811bd (diff)
downloadfreebsd-ports-gnome-e34626d8d77305eb29ea83adae58150dbcfe03ce.tar.gz
freebsd-ports-gnome-e34626d8d77305eb29ea83adae58150dbcfe03ce.tar.zst
freebsd-ports-gnome-e34626d8d77305eb29ea83adae58150dbcfe03ce.zip
Add gdesklets-seti, a gdesklet client for the SETI project that is designed
to be simple, and use little CPU. PR: 59227 Submitted by: Franz Klammer <klammer@webonaut.com>
Diffstat (limited to 'astro/gdesklets-seti')
-rw-r--r--astro/gdesklets-seti/Makefile44
-rw-r--r--astro/gdesklets-seti/distinfo1
-rw-r--r--astro/gdesklets-seti/pkg-descr3
-rw-r--r--astro/gdesklets-seti/pkg-message14
-rw-r--r--astro/gdesklets-seti/pkg-plist14
5 files changed, 76 insertions, 0 deletions
diff --git a/astro/gdesklets-seti/Makefile b/astro/gdesklets-seti/Makefile
new file mode 100644
index 000000000000..247e7ba344b6
--- /dev/null
+++ b/astro/gdesklets-seti/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: gdesklets-seti
+# Date created: 12 November 2003
+# Whom: Franz Klammer <klammer@webonaut.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= seti
+PORTVERSION= 0.2
+CATEGORIES= astro gnome
+MASTER_SITES= http://www.webonaut.com/distfiles/
+PKGNAMEPREFIX= gdesklets-
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= klammer@webonaut.com
+COMMENT= Simple but useful setidesklet with less CPU-usage
+
+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_PYTHON= yes
+NAME= Seti
+
+do-build:
+ @${WRKDIR}/Install_${NAME}_Sensor.bin --nomsg ${WRKDIR}/${PORTNAME}
+ @${REINPLACE_CMD} -e 's|/usr/setiathome|/var/db/setiathome|g' \
+ ${WRKDIR}/${PORTNAME}/${NAME}/sah.py
+ @${FIND} ${WRKDIR}/${PORTNAME} -name '*.bak' -delete
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/gfx
+ @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}
+ @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/*.display ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/
+ @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/gfx/*.png ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/gfx/
+ @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/${NAME}/*.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/
+
+post-install:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/astro/gdesklets-seti/distinfo b/astro/gdesklets-seti/distinfo
new file mode 100644
index 000000000000..d789b0732284
--- /dev/null
+++ b/astro/gdesklets-seti/distinfo
@@ -0,0 +1 @@
+MD5 (seti-0.2.tar.bz2) = 823f2802110b3697d7b1745bae0ca03d
diff --git a/astro/gdesklets-seti/pkg-descr b/astro/gdesklets-seti/pkg-descr
new file mode 100644
index 000000000000..7904dba6000d
--- /dev/null
+++ b/astro/gdesklets-seti/pkg-descr
@@ -0,0 +1,3 @@
+Simple but useful setidesklet with less CPU-usage.
+
+WWW: http://gdesklets.gnomedesktop.org/
diff --git a/astro/gdesklets-seti/pkg-message b/astro/gdesklets-seti/pkg-message
new file mode 100644
index 000000000000..3fc99edbeaaa
--- /dev/null
+++ b/astro/gdesklets-seti/pkg-message
@@ -0,0 +1,14 @@
+##
+To view all installed applets:
+
+ ls ${PREFIX}/share/gnome/gdesklets/Displays
+
+To use those applets:
+
+ gdesklets ${PREFIX}/share/gnome/gdesklets/Displays/${name}/${name}.display
+
+Replace ${name} with the correct name of the applets you want to use.
+
+NOTE: Be sure to login as your user when you use the gdesklets command,
+ as the configuration will be stored in the ~/.gdesklets/ directory.
+##
diff --git a/astro/gdesklets-seti/pkg-plist b/astro/gdesklets-seti/pkg-plist
new file mode 100644
index 000000000000..3b93c4463834
--- /dev/null
+++ b/astro/gdesklets-seti/pkg-plist
@@ -0,0 +1,14 @@
+share/gnome/gdesklets/Displays/Seti/gfx/alien1.png
+share/gnome/gdesklets/Displays/Seti/gfx/alien2.png
+share/gnome/gdesklets/Displays/Seti/gfx/alien3.png
+share/gnome/gdesklets/Displays/Seti/gfx/gauge.png
+share/gnome/gdesklets/Displays/Seti/seti.display
+share/gnome/gdesklets/Sensors/Seti/__init__.py
+share/gnome/gdesklets/Sensors/Seti/__init__.pyc
+share/gnome/gdesklets/Sensors/Seti/__init__.pyo
+share/gnome/gdesklets/Sensors/Seti/sah.py
+share/gnome/gdesklets/Sensors/Seti/sah.pyc
+share/gnome/gdesklets/Sensors/Seti/sah.pyo
+@dirrm share/gnome/gdesklets/Sensors/Seti
+@dirrm share/gnome/gdesklets/Displays/Seti/gfx
+@dirrm share/gnome/gdesklets/Displays/Seti