diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2002-08-10 05:39:39 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2002-08-10 05:39:39 +0000 |
commit | 4c5e491a690bf1cc3fc30af7c0c8a884635ced35 (patch) | |
tree | 3d1f41d361e97a95bb6567ad6df3d1ecf0cf0306 /astro | |
parent | 3389e68fc82b22dd0224a48a7b1c526017bddfd4 (diff) |
. This port was unfetchable as the author now wishes people to agree to
a license before downloading. Rejig the port to accomodate that and
mark it NO_CDROM as the license is for personal use only.
. Convince read only files that REINPLACE_CMD should work on them with
a handy chmod stick.
Submitted by: distfiles survey (first part)
Notes
Notes:
svn path=/head/; revision=64317
Diffstat (limited to 'astro')
-rw-r--r-- | astro/xephem/Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile index d83ee4b9053c..e1912cb5d1d4 100644 --- a/astro/xephem/Makefile +++ b/astro/xephem/Makefile @@ -8,9 +8,8 @@ PORTNAME= xephem PORTVERSION= 3.5.2 CATEGORIES= astro -MASTER_SITES= http://www.clearskyinstitute.com/xephem/ \ - ftp://iraf.noao.edu/contrib/xephem/ \ - ftp://wolf.ifj.edu.pl/mirror/xephem/ +MASTER_SITES= # http://www.clearskyinstitute.com/xephem/ +DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz MAINTAINER= ports@FreeBSD.org @@ -24,7 +23,18 @@ MAN1= xephem.1 LIBASTROSRC= ${WRKDIR}/${DISTNAME}/libastro LIBIPSRC= ${WRKDIR}/${DISTNAME}/libip +NO_CDROM= Personal use only + +.include <bsd.port.pre.mk> + +.for file in ${DISTFILES} +.if !exists(${DISTDIR}/${file}) +IGNORE=You must manually fetch ${file} from http://www.clearskyinstitute.com/xephem/, place it in ${DISTDIR} and then run make again. +.endif +.endfor + post-patch: + @${CHMOD} u+w ${LIBASTROSRC}/Makefile ${LIBIPSRC}/Makefile @${REINPLACE_CMD} -e 's|CC =|CC?=|g ; \ s|CFLAGS=|CFLAGS+=|g ; \ s|-O2 ||g' ${LIBASTROSRC}/Makefile ${LIBIPSRC}/Makefile @@ -42,4 +52,4 @@ post-install: @${FIND} ${PREFIX}/lib/X11/xephem | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREMODE} @${FIND} ${PREFIX}/lib/X11/xephem -type f | ${XARGS} ${CHMOD} ${SHAREMODE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |