diff options
author | stb <stb@FreeBSD.org> | 1999-04-22 09:44:35 +0800 |
---|---|---|
committer | stb <stb@FreeBSD.org> | 1999-04-22 09:44:35 +0800 |
commit | 76334b9106708e556d6aba10c35ce0594fa0e253 (patch) | |
tree | 87e7a59880b08a5776266af7e2cd598631adcb3e /astro/setiathome/Makefile | |
parent | c74624a5ca054f00da27ee038721a4cdfbde86e3 (diff) | |
download | freebsd-ports-gnome-76334b9106708e556d6aba10c35ce0594fa0e253.tar.gz freebsd-ports-gnome-76334b9106708e556d6aba10c35ce0594fa0e253.tar.zst freebsd-ports-gnome-76334b9106708e556d6aba10c35ce0594fa0e253.zip |
SETI@home - donate idle cycles to the search for aliens
Diffstat (limited to 'astro/setiathome/Makefile')
-rw-r--r-- | astro/setiathome/Makefile | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/astro/setiathome/Makefile b/astro/setiathome/Makefile new file mode 100644 index 000000000000..d55724e29b2f --- /dev/null +++ b/astro/setiathome/Makefile @@ -0,0 +1,68 @@ +# Ports collection makefile for: setiathome +# Version required: 0.46 +# Date created: 22 Apr 1999 +# Whom: stb@freebsd.org +# +# $Id$ +# + +PKGNAME= setiathome-0.46 +CATEGORIES= astro +MASTER_SITES= http://setiathome.ssl.berkeley.edu/software/ \ + http://www.freebsd.org/~stb/mirror/setiathome.ssl.berkeley.edu/software/ +ONLY_FOR_ARCHS= i386 + +MAINTAINER= stb@freebsd.org + +EXTRACT_CMD= tar +EXTRACT_BEFORE_ARGS= -xf +EXTRACT_AFTER_ARGS= + +.if !defined(OSRELEASE) +OSRELEASE!= uname -r | ${SED} -e 's/^\(^[^-]*\)-.*/\1/' +.endif + +.if (${OSRELEASE} == 2.2.6) +DISTFILES= setiathome-0.46.i386-unknown-freebsd2.2.6.tar +WRKSRC= setiathome-0.46.i386-unknown-freebsd2.2.6 +.elif (${OSRELEASE} == 2.2.7) +DISTFILES= setiathome-0.46.i386-unknown-freebsd2.2.7.tar +WRKSRC= setiathome-0.46.i386-unknown-freebsd2.2.7 +.elif (${OSRELEASE} == 2.2.8) +DISTFILES= setiathome-0.46.i386-unknown-freebsd2.2.8.tar +WRKSRC= setiathome-0.46.i386-unknown-freebsd2.2.8 +.elif (${OSRELEASE} == 3.1) +DISTFILES= setiathome-0.46.i386-unknown-freebsd3.1.tar +WRKSRC= setiathome-0.46.i386-unknown-freebsd3.1 +.else +DISTFILES= +.endif + +.if make(makesum) +DISTFILES= setiathome-0.46.i386-unknown-freebsd2.2.6.tar \ + setiathome-0.46.i386-unknown-freebsd2.2.7.tar \ + setiathome-0.46.i386-unknown-freebsd2.2.8.tar \ + setiathome-0.46.i386-unknown-freebsd3.1.tar +.endif + +NO_BUILD= "binary distribution" + +MAN1= setiathome.1 + +pre-fetch: + @if [ -z "${DISTFILES}" ]; then \ + ${ECHO} "It seems you are running FreeBSD `uname -r`, which is not currently"; \ + ${ECHO} "supported. SETI@home currently supports only FreeBSD 2.2.5 and above,"; \ + ${ECHO} "and FreeBSD 3.1."; \ + ${ECHO} + exit 72; \ + fi; + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/${WRKSRC}/setiathome ${PREFIX}/bin + ${INSTALL_MAN} ${FILESDIR}/setiathome.1 ${MAN1PREFIX}/man/man1 + +post-install: + @PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL + +.include <bsd.port.mk> |