1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/astro/setiathome/Makefile
Stefan Bethke 4ccc559270 - Add ftp.cdrom.com to MASTER_SITES
- Add new options to man page
1999-05-17 10:58:12 +00:00

79 lines
2.3 KiB
Makefile

# Ports collection makefile for: setiathome
# Version required: 0.46
# Date created: 22 Apr 1999
# Whom: stb@freebsd.org
#
# $Id: Makefile,v 1.8 1999/05/17 08:18:01 stb Exp $
#
PKGNAME= setiathome-1.1
CATEGORIES= astro
MASTER_SITES= http://setiathome.ssl.berkeley.edu/software/ \
ftp://ftp.cdrom.com/pub/setiathome/ \
http://www.freebsd.org/~stb/mirror/setiathome.ssl.berkeley.edu/software/
MAINTAINER= stb@freebsd.org
ONLY_FOR_ARCHS= i386
EXTRACT_CMD= tar
EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS=
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400000
DISTFILES= setiathome-1.1.i386-unknown-freebsd4.0.tar
WRKSRC= setiathome-1.1.i386-unknown-freebsd4.0
.elif ${OSVERSION} >= 310000
DISTFILES= setiathome-1.1.i386-unknown-freebsd3.1.tar
WRKSRC= setiathome-1.1.i386-unknown-freebsd3.1
.elif ${OSVERSION} >= 228000
DISTFILES= setiathome-1.1.i386-unknown-freebsd2.2.8.tar
WRKSRC= setiathome-1.1.i386-unknown-freebsd2.2.8
.elif ${OSVERSION} >= 227000
DISTFILES= setiathome-1.1.i386-unknown-freebsd2.2.7.tar
WRKSRC= setiathome-1.1.i386-unknown-freebsd2.2.7
.elif ${OSVERSION} >= 226000
DISTFILES= setiathome-1.1.i386-unknown-freebsd2.2.6.tar
WRKSRC= setiathome-1.1.i386-unknown-freebsd2.2.6
.else
DISTFILES=
.endif
.if make(makesum) | defined(FETCH_ALL)
DISTFILES= setiathome-1.1.i386-unknown-freebsd2.2.6.tar \
setiathome-1.1.i386-unknown-freebsd2.2.7.tar \
setiathome-1.1.i386-unknown-freebsd2.2.8.tar \
setiathome-1.1.i386-unknown-freebsd3.1.tar \
setiathome-1.1.i386-unknown-freebsd4.0.tar
.endif
NO_BUILD= "binary distribution"
MAN1= setiathome.1
.if !defined(PACKAGE_BUILDING)
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} "FreeBSD 3.1. and above, and FreeBSD 4.0."; \
${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} PACKAGE_BUILDING=${PACKAGE_BUILDING} \
${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>