From owner-freebsd-ports Wed Apr 21 21:12:42 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 639F2158D3 for ; Wed, 21 Apr 1999 21:12:28 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id VAA09597; Wed, 21 Apr 1999 21:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from norn.ca.eu.org (cr965240-b.abtsfd1.bc.wave.home.com [24.113.19.137]) by hub.freebsd.org (Postfix) with ESMTP id BEEB914D1E for ; Wed, 21 Apr 1999 21:03:14 -0700 (PDT) (envelope-from norn@norn.ca.eu.org) Received: by norn.ca.eu.org (Postfix, from userid 1000) id 8CDB116D4; Wed, 21 Apr 1999 21:00:34 -0700 (PDT) Message-Id: <19990422040034.8CDB116D4@norn.ca.eu.org> Date: Wed, 21 Apr 1999 21:00:34 -0700 (PDT) From: cpiazza@home.net Reply-To: cpiazza@home.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11272: Changes to astro/setiathome port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11272 >Category: ports >Synopsis: Changes to astro/setiathome port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 21 21:10:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Chris Piazza >Release: FreeBSD 4.0-CURRENT i386 >Organization: n/a >Environment: FreeBSD 4.0-CURRENT i386 >Description: I've cleaned up the Makefile a bit. Changes include: * EXTRACT_CMD stuff wasn't needed * move ONLY_FOR_ARCHS down.. * instead of using uname -r to get the release version, which actually skipped anyone who was using 3.0/4.0, use ${OSVERSION} and check >=. Also, because of above changes, used . Files removed: stray seti-port.tar.gz >How-To-Repeat: >Fix: Index: setiathome/Makefile =================================================================== RCS file: /cvs/FreeBSD/ports/astro/setiathome/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- Makefile 1999/04/22 02:00:16 1.3 +++ Makefile 1999/04/22 03:48:06 @@ -10,30 +10,25 @@ 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= +ONLY_FOR_ARCHS=i386 -.if !defined(OSRELEASE) -OSRELEASE!= uname -r | sed -e 's/^\(^[^-]*\)-.*/\1/' -.endif +.include -.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 +.if ${OSVERSION} >= 310000 +DISTFILES= setiathome-0.46.i386-unknown-freebsd3.1.tar +WRKSRC= setiathome-0.46.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 +.elif ${OSVERSION} >= 227000 +DISTFILES= setiathome-0.46.i386-unknown-freebsd2.2.7.tar +WRKSRC= setiathome-0.46.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 .else DISTFILES= .endif @@ -52,7 +47,7 @@ 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} "supported. SETI@home currently supports only FreeBSD 2.2.6 and above,"; \ ${ECHO} "and FreeBSD 3.1."; \ ${ECHO} \ exit 72; \ @@ -65,4 +60,4 @@ post-install: @PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL -.include +.include -Chris >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message