[Midnightbsd-cvs] mports: biology/linux-foldingathome: add Folding at home
crash at midnightbsd.org
crash at midnightbsd.org
Thu Apr 17 16:17:43 EDT 2008
Log Message:
-----------
add Folding at home
Added Files:
-----------
mports/biology/linux-foldingathome:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
mports/biology/linux-foldingathome/scripts:
FoldingAtHome (r1.1)
-------------- next part --------------
--- /dev/null
+++ biology/linux-foldingathome/pkg-descr
@@ -0,0 +1,9 @@
+Folding at Home is a distributed computing project -- people from through out the
+world download and run software to band together to make one of the largest
+supercomputers in the world. Every computer makes the project closer to our
+goals.
+Folding at Home uses novel computational methods coupled to distributed computing,
+to simulate problems thousands to millions of times more challenging than
+previously achieved.
+
+WWW: http://folding.stanford.edu
--- /dev/null
+++ biology/linux-foldingathome/Makefile
@@ -0,0 +1,43 @@
+# Ports collection makefile for: foldingathome
+# Date created: 2/8/2006
+# Whom: Yonatan <onatan at gmail.com>
+#
+# $FreeBSD: ports/biology/linux-foldingathome/Makefile,v 1.2 2007/09/23 05:45:41 edwin Exp $
+#
+
+PORTNAME= foldingathome
+PORTVERSION= 5.04
+CATEGORIES= biology
+MASTER_SITES= http://www.stanford.edu/group/pandegroup/release/
+PKGNAMEPREFIX= linux-
+DISTNAME= FAH${PORTVERSION:S/.//}-Linux
+EXTRACT_SUFX= .exe
+
+MAINTAINER= onatan at gmail.com
+COMMENT= Distributed client for Protein Folding
+
+USE_LINUX= yes
+ONLY_FOR_ARCHS= i386 amd64
+REINPLACE_ARGS=
+PLIST_FILES= share/${PORTNAME}/${DISTNAME}${EXTRACT_SUFX} \
+ bin/FoldingAtHome
+PLIST_DIRS= share/${PORTNAME}
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}
+
+do-build:
+ ${BRANDELF} -t Linux ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX}
+ ${CHMOD} 755 ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX}
+
+do-install:
+ ${MKDIR} ${PREFIX}/bin
+ ${REINPLACE_CMD} -e "s|DATADIR|${DATADIR}|" ${SCRIPTDIR}/FoldingAtHome \
+ | ${REINPLACE_CMD} -e "s|BINNAME|${DISTNAME}${EXTRACT_SUFX}|" \
+ > ${PREFIX}/bin/FoldingAtHome
+ ${CHMOD} 755 ${PREFIX}/bin/FoldingAtHome
+ ${MKDIR} ${DATADIR}
+ ${CP} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${DATADIR}/
+
+.include <bsd.port.mk>
--- /dev/null
+++ biology/linux-foldingathome/distinfo
@@ -0,0 +1,3 @@
+MD5 (FAH504-Linux.exe) = 1316853b439d25a4a56adf82fcd953db
+SHA256 (FAH504-Linux.exe) = c491b23af1edee41db474545c0a084f3f4cf4ccf50bceb56da499df63eb38464
+SIZE (FAH504-Linux.exe) = 250964
--- /dev/null
+++ biology/linux-foldingathome/scripts/FoldingAtHome
@@ -0,0 +1,7 @@
+#!/bin/sh
+FAHDIR=~/.fah
+CURDIR=`pwd`
+mkdir $FAHDIR
+cd $FAHDIR
+nice -n 20 /DATADIR/BINNAME -freeBSD
+cd $CURDIR
More information about the Midnightbsd-cvs
mailing list