ports/101235: New port: biology/foldingathome - Folding at Home distributed computing client

Yonatan onatan at gmail.com
Wed Aug 2 00:40:14 UTC 2006


>Number:         101235
>Category:       ports
>Synopsis:       New port: biology/foldingathome - Folding at Home distributed computing client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 02 00:40:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yonatan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Afarsec
>Environment:
System: FreeBSD laptop.afarsec.com 6.1-STABLE FreeBSD 6.1-STABLE #1: Fri Jun 23 12:39:24 IDT 2006 root at laptop.afarsec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
This is some wrapping around the Linux version of Folding at Home.
Please veryfy my work in 2 main areas:
1. After downloading Work Unit, the port says something about "unzipping" it.
Please verify that this is an internal phrasing, and that archivers/unzip
is not required.
2. Just before churning, there is some message that speaks about License. As
far as I can tell, the license is GPL, but IANAL.
>How-To-Repeat:
N/A
>Fix:

--- foldingathome.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./distinfo
#	./scripts
#	./scripts/FoldingAtHome
#	./pkg-descr
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# Ports collection makefile for:  foldingathome
X# Date created:			  2/8/2006
X# Whom:				  Yonatan <onatan at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	foldingathome
XPORTVERSION=	5.02
XCATEGORIES=	biology
XMASTER_SITES=	http://www.stanford.edu/group/pandegroup/release/
XDISTNAME=	FAH${PORTVERSION:S/.//}-Linux
XEXTRACT_SUFX=	.exe
X
XMAINTAINER=	onatan at gmail.com
XCOMMENT=	Distributed client for Protein Folding
X
XUSE_LINUX=	yes
XREINPLACE_ARGS=
XPLIST_FILES=	share/${PORTNAME}/${DISTNAME}${EXTRACT_SUFX} \
X		bin/FoldingAtHome
X
Xdo-extract:
X	${MKDIR} ${WRKSRC}
X	${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}
X
Xdo-build:
X	${BRANDELF} -t Linux ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX}
X	${CHMOD} 755 ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${REINPLACE_CMD} -e "s|DATADIR|${DATADIR}|" ${SCRIPTDIR}/FoldingAtHome \
X		| ${REINPLACE_CMD} -e "s|BINNAME|${DISTNAME}${EXTRACT_SUFX}|" \
X		> ${PREFIX}/bin/FoldingAtHome
X	${CHMOD} 755 ${PREFIX}/bin/FoldingAtHome
X	${MKDIR} ${DATADIR}
X	${CP} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${DATADIR}/
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (FAH502-Linux.exe) = 4855e808fb94e6d2c5fde345aea0cdc3
XSHA256 (FAH502-Linux.exe) = 02e2d3665a6e8f8fc89c7751b8faadff6885d34860643bdd4107d92825754d33
XSIZE (FAH502-Linux.exe) = 249236
END-of-./distinfo
echo c - ./scripts
mkdir -p ./scripts > /dev/null 2>&1
echo x - ./scripts/FoldingAtHome
sed 's/^X//' >./scripts/FoldingAtHome << 'END-of-./scripts/FoldingAtHome'
X#!/bin/sh
XCURDIR=`pwd`
Xcd DATADIR
Xnice -n 20 ./BINNAME -freeBSD
Xcd $CURDIR
END-of-./scripts/FoldingAtHome
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XFolding at Home is a distributed computing project -- people from through out the
Xworld download and run software to band together to make one of the largest
Xsupercomputers in the world. Every computer makes the project closer to our
Xgoals.
XFolding at Home uses novel computational methods coupled to distributed computing,
Xto simulate problems thousands to millions of times more challenging than
Xpreviously achieved. 
X
XWWW: http://folding.standford.edu
END-of-./pkg-descr
exit
--- foldingathome.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list