summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro/Makefile1
-rw-r--r--astro/boinc-setiathome-naparst/Makefile50
-rw-r--r--astro/boinc-setiathome-naparst/distinfo3
-rw-r--r--astro/boinc-setiathome-naparst/pkg-descr11
-rw-r--r--astro/boinc-setiathome-naparst/pkg-message14
-rw-r--r--astro/boinc-setiathome-naparst/pkg-plist4
6 files changed, 83 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile
index 5b4d9c20e59e..66a9d91f4386 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -6,6 +6,7 @@
SUBDIR += accrete
SUBDIR += boinc-einsteinathome
SUBDIR += boinc-setiathome
+ SUBDIR += boinc-setiathome-naparst
SUBDIR += celestia
SUBDIR += cfitsio
SUBDIR += dgpsip
diff --git a/astro/boinc-setiathome-naparst/Makefile b/astro/boinc-setiathome-naparst/Makefile
new file mode 100644
index 000000000000..9de70ee7784d
--- /dev/null
+++ b/astro/boinc-setiathome-naparst/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: boinc-setiathome-naparst
+# Date created: 14 March 2006
+# Whom: Pav Lucistnik <pav@FreeBSD.org>
+# $FreeBSD$
+#
+
+PORTNAME= boinc-setiathome-naparst
+PORTVERSION= 3.4
+CATEGORIES= astro
+MASTER_SITES= http://naparst.name/files/
+DISTNAME= setiathome_SSE-naparst-r${PORTVERSION}
+
+MAINTAINER= pav@FreeBSD.org
+COMMENT= Setiathome for BOINC, optimized by Harold Naparst
+
+RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client
+
+ONLY_FOR_ARCHS= i386 amd64
+USE_BZIP2= yes
+USE_LINUX= yes
+
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+CONFLICTS= boinc-setiathome-[0-9]*
+
+# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
+BOINC_USER?= boinc
+BOINC_GROUP?= nobody
+BOINC_HOME?= /var/db/boinc
+
+SETI_SITE= setiathome.berkeley.edu
+SETI_BINARY= setiathome_SSE-naparst-r3.4
+
+PLIST_SUB= SETI_BINARY="${SETI_BINARY}" SETI_SITE=${SETI_SITE} \
+ BOINC_HOME=${BOINC_HOME}
+
+post-patch:
+ @${BRANDELF} -t Linux ${WRKDIR}/${SETI_BINARY}
+
+do-install:
+ ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects
+ ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects/${SETI_SITE}
+ ${INSTALL_DATA} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/app_info.xml ${BOINC_HOME}/projects/${SETI_SITE}
+ ${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/${SETI_BINARY} ${BOINC_HOME}/projects/${SETI_SITE}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/astro/boinc-setiathome-naparst/distinfo b/astro/boinc-setiathome-naparst/distinfo
new file mode 100644
index 000000000000..56dc23a9408d
--- /dev/null
+++ b/astro/boinc-setiathome-naparst/distinfo
@@ -0,0 +1,3 @@
+MD5 (setiathome_SSE-naparst-r3.4.tar.bz2) = d7c0fa6d9e1820a9980e4441be3eb05e
+SHA256 (setiathome_SSE-naparst-r3.4.tar.bz2) = f83e535dabd5f60a22ddbf3ddb810b8e604d1415e31a02e41c513f7983f6ac0f
+SIZE (setiathome_SSE-naparst-r3.4.tar.bz2) = 911302
diff --git a/astro/boinc-setiathome-naparst/pkg-descr b/astro/boinc-setiathome-naparst/pkg-descr
new file mode 100644
index 000000000000..9d1f7beeb579
--- /dev/null
+++ b/astro/boinc-setiathome-naparst/pkg-descr
@@ -0,0 +1,11 @@
+SETI - Search for Extra-Terrestrial Intelligence
+
+Use your unused CPU cycles to aid in computations analyzing radio
+telescope information for possible signs of ET.
+
+This version is a Linux binary built by Harold Naparst for Pentium 3
+CPUs and higher (requires SSE instructions). It was heavily optimized
+for best performance, can process a work unit under an hour on recent
+hardware.
+
+WWW: http://naparst.name/seti.htm
diff --git a/astro/boinc-setiathome-naparst/pkg-message b/astro/boinc-setiathome-naparst/pkg-message
new file mode 100644
index 000000000000..4601876835b1
--- /dev/null
+++ b/astro/boinc-setiathome-naparst/pkg-message
@@ -0,0 +1,14 @@
+ATTACHING PROJECT
+
+Just run boinc_gui, choose Attach, and follow instructions.
+Project URL is setiathome.berkeley.edu
+
+MANUAL INSTALLATION
+ *) If this is your first time in any BOINC project, create a new account at
+ http://setiathome.berkeley.edu/create_account_form.php
+
+ *) Or get your account key at http://setiathome.berkeley.edu/get_passwd.php
+
+ *) Attach to the project:
+ cd /var/db/boinc
+ boinc_cmd --project_attach setiathome.berkeley.edu <account key>
diff --git a/astro/boinc-setiathome-naparst/pkg-plist b/astro/boinc-setiathome-naparst/pkg-plist
new file mode 100644
index 000000000000..d44366c69cc7
--- /dev/null
+++ b/astro/boinc-setiathome-naparst/pkg-plist
@@ -0,0 +1,4 @@
+@cwd %%BOINC_HOME%%
+projects/%%SETI_SITE%%/app_info.xml
+projects/%%SETI_SITE%%/%%SETI_BINARY%%
+@unexec rmdir %D/projects/%%SETI_SITE%% 2>/dev/null || true