diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-27 20:39:48 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-27 20:39:48 +0000 |
commit | 359ad2f380bea6b69d2d2f18c7a27bf8db545a9b (patch) | |
tree | 5ff6b68c06343182f337a6cc83df2819147b41fe /astro/boinc-setiathome-enhanced/Makefile | |
parent | 6c667474e3496e2eaaca1e10a165cf16fdb2cb98 (diff) | |
download | ports-359ad2f380bea6b69d2d2f18c7a27bf8db545a9b.tar.gz ports-359ad2f380bea6b69d2d2f18c7a27bf8db545a9b.zip |
Notes
Diffstat (limited to 'astro/boinc-setiathome-enhanced/Makefile')
-rw-r--r-- | astro/boinc-setiathome-enhanced/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/astro/boinc-setiathome-enhanced/Makefile b/astro/boinc-setiathome-enhanced/Makefile new file mode 100644 index 000000000000..bc30a47399c0 --- /dev/null +++ b/astro/boinc-setiathome-enhanced/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: boinc-setiathome-enhanced +# Date created: 26 March 2006 +# Whom: Rene Ladan <r.c.ladan@student.tue.nl> +# $FreeBSD$ +# + +PORTNAME= boinc-setiathome-enhanced +PORTVERSION= 5.05 +CATEGORIES= astro +MASTER_SITES= http://www.lb.shuttle.de/apastron/boinc/ +DISTNAME= boinc5.2.14seti${PORTVERSION}freebsd-mmx + +MAINTAINER= r.c.ladan@student.tue.nl +COMMENT= Setiathome Enhanced for BOINC + +USE_BZIP2= yes + +.include <bsd.port.pre.mk> + +ONLY_FOR_ARCHS= i386 amd64 +.if ${ARCH} == amd64 +#amd64 builds 5.X compat libs as part of lib32 layer +#amd64 does not run, unless you libmap libpthread.so.1 to libc_r.so.5 +.else +.if ${OSVERSION} >= 600000 +LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x +#also depends on libm.so.3, libstdc++.so.4, libpthread.so.1 +.endif +.endif + +RUN_DEPENDS+= boinc_client:${PORTSDIR}/net/boinc-client + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile +BOINC_USER?= boinc +BOINC_GROUP?= nobody +BOINC_HOME?= /var/db/boinc + +SETI_SITE= setiweb.ssl.berkeley.edu_beta +SETI_BINARY= setiathome-5.5.i386-unknown-freebsd + +PLIST_SUB= SETI_BINARY="${SETI_BINARY}" SETI_SITE=${SETI_SITE} \ + BOINC_HOME=${BOINC_HOME} + +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}/projects/${SETI_SITE}/app_info.xml ${BOINC_HOME}/projects/${SETI_SITE} + ${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/projects/${SETI_SITE}/${SETI_BINARY} ${BOINC_HOME}/projects/${SETI_SITE} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> |