aboutsummaryrefslogtreecommitdiff
path: root/biology/linux-foldingathome/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-08-28 22:33:45 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-08-28 22:33:45 +0000
commit940da0dc4a25d0ba7fe5face6ba5bace3973dda7 (patch)
tree553157d0bc582a4d715dea2dd2fc5286b3302f24 /biology/linux-foldingathome/Makefile
parentf20ed2f9f5b5a894bd9adb078a05ae8285239ee1 (diff)
Notes
Diffstat (limited to 'biology/linux-foldingathome/Makefile')
-rw-r--r--biology/linux-foldingathome/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/biology/linux-foldingathome/Makefile b/biology/linux-foldingathome/Makefile
new file mode 100644
index 000000000000..ed8878efba18
--- /dev/null
+++ b/biology/linux-foldingathome/Makefile
@@ -0,0 +1,43 @@
+# Ports collection makefile for: foldingathome
+# Date created: 2/8/2006
+# Whom: Yonatan <onatan@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= foldingathome
+PORTVERSION= 5.02
+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>