head	1.3;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2012.11.17.05.54.52;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2007.09.23.05.45.41;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2006.08.28.22.33.45;	author pav;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Switch exporter over
@
text
@# Ports collection makefile for:  foldingathome
# Date created:			  2/8/2006
# Whom:				  Yonatan <onatan@@gmail.com>
#
# $FreeBSD: head/biology/linux-foldingathome/Makefile 300895 2012-07-14 12:56:14Z beat $
#

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


1.2
log
@biology/linux-foldingathome needs to run as root?
(also: update to 5.0.4)

	Upon installing FoldingAtHome I ran the software from a
	user account only to find that I was stuck in a loop of
	trying to enter configuration options. Shortly thereafter
	I realized that it was trying to write to
	/usr/local/share/foldingathome, and therefore requires being
	run as root to write there unless one changes permissions
	there. Seing as this isn't installed with a startup script
	for daemonization, and running as root seems a little
	excessive for this application, should this be adapted to
	run from a user account or set up to be able to start at
	boot?

And from maintainer:

	This diff updates the port to version 5.04, and adds
	support to running as normal user using ~/.fah
	directory.

PR:		ports/113335
Submitted by:	James Snyder <jbsnyder@@fanplastic.org>
Approved by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.1
log
@Folding@@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@@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.standford.edu

PR:		ports/101235
Submitted by:	Yonatan <onatan@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	5.02
@

