summaryrefslogtreecommitdiff
path: root/astro/setiathome/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/setiathome/Makefile')
-rw-r--r--astro/setiathome/Makefile41
1 files changed, 22 insertions, 19 deletions
diff --git a/astro/setiathome/Makefile b/astro/setiathome/Makefile
index 897f3fe8feb1..ffdfb5841f6f 100644
--- a/astro/setiathome/Makefile
+++ b/astro/setiathome/Makefile
@@ -3,10 +3,10 @@
# Date created: 22 Apr 1999
# Whom: stb@freebsd.org
#
-# $Id: Makefile,v 1.5 1999/04/22 12:24:23 stb Exp $
+# $Id: Makefile,v 1.6 1999/04/23 18:27:31 stb Exp $
#
-PKGNAME= setiathome-0.46
+PKGNAME= setiathome-0.47
CATEGORIES= astro
MASTER_SITES= http://setiathome.ssl.berkeley.edu/software/ \
http://www.freebsd.org/~stb/mirror/setiathome.ssl.berkeley.edu/software/
@@ -15,35 +15,37 @@ MAINTAINER= stb@freebsd.org
ONLY_FOR_ARCHS= i386
-RESTRICTED= "Binary redistribution not authorized."
-
EXTRACT_CMD= tar
EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS=
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 310000
-DISTFILES= setiathome-0.46.i386-unknown-freebsd3.1.tar
-WRKSRC= setiathome-0.46.i386-unknown-freebsd3.1
+.if ${OSVERSION} >= 400000
+DISTFILES= setiathome-0.47.i386-unknown-freebsd4.0.tar
+WRKSRC= setiathome-0.47.i386-unknown-freebsd4.0
+.elif ${OSVERSION} >= 310000
+DISTFILES= setiathome-0.47.i386-unknown-freebsd3.1.tar
+WRKSRC= setiathome-0.47.i386-unknown-freebsd3.1
.elif ${OSVERSION} >= 228000
-DISTFILES= setiathome-0.46.i386-unknown-freebsd2.2.8.tar
-WRKSRC= setiathome-0.46.i386-unknown-freebsd2.2.8
+DISTFILES= setiathome-0.47.i386-unknown-freebsd2.2.8.tar
+WRKSRC= setiathome-0.47.i386-unknown-freebsd2.2.8
.elif ${OSVERSION} >= 227000
-DISTFILES= setiathome-0.46.i386-unknown-freebsd2.2.7.tar
-WRKSRC= setiathome-0.46.i386-unknown-freebsd2.2.7
+DISTFILES= setiathome-0.47.i386-unknown-freebsd2.2.7.tar
+WRKSRC= setiathome-0.47.i386-unknown-freebsd2.2.7
.elif ${OSVERSION} >= 226000
-DISTFILES= setiathome-0.46.i386-unknown-freebsd2.2.6.tar
-WRKSRC= setiathome-0.46.i386-unknown-freebsd2.2.6
+DISTFILES= setiathome-0.47.i386-unknown-freebsd2.2.6.tar
+WRKSRC= setiathome-0.47.i386-unknown-freebsd2.2.6
.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
+.if make(makesum) | make(fetch-all)
+DISTFILES= setiathome-0.47.i386-unknown-freebsd2.2.6.tar \
+ setiathome-0.47.i386-unknown-freebsd2.2.7.tar \
+ setiathome-0.47.i386-unknown-freebsd2.2.8.tar \
+ setiathome-0.47.i386-unknown-freebsd3.1.tar \
+ setiathome-0.47.i386-unknown-freebsd4.0.tar
.endif
NO_BUILD= "binary distribution"
@@ -54,11 +56,12 @@ MAN1= setiathome.1
IS_INTERACTIVE= yes
.endif
+
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.6 and above,"; \
- ${ECHO} "and FreeBSD 3.1."; \
+ ${ECHO} "FreeBSD 3.1. and above, and FreeBSD 4.0."; \
${ECHO} \
exit 72; \
fi;