From 00bec19998af3ae202596bfbb8762960bd77648f Mon Sep 17 00:00:00 2001 From: pav Date: Sat, 12 Aug 2006 21:40:18 +0000 Subject: This program computes ephemerides of Sun, Moon, planets, comets, and stars using rigorous reduction methods from the _Astronomical Almanac_ and related sources. Includes PLAN404 series for positions of the planets, and a long-term extension of modern Lunar theory for the Moon's position. Reads ASCII file catalogues of stars and orbital elements. Displays all adjustments as it finds local azimuth and elevation, rise and set times, etc. Latest update 2005-11-09. WWW: http://moshier.net/aadoc.html PR: ports/101850 Submitted by: Frank W. Josellis --- astro/aa/Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 astro/aa/Makefile (limited to 'astro/aa/Makefile') diff --git a/astro/aa/Makefile b/astro/aa/Makefile new file mode 100644 index 000000000000..fe352e5f34ee --- /dev/null +++ b/astro/aa/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: aa +# Date created: 11 August 2006 +# Whom: Frank W. Josellis +# +# $FreeBSD$ +# + +PORTNAME= aa +PORTVERSION= 56 +CATEGORIES= astro +MASTER_SITES= http://moshier.net/ \ + http://www.mirrorservice.org/sites/www.moshier.net/ + +MAINTAINER= frank@dynamical-systems.org +COMMENT= Self-contained ephemeris calculator + +EXTRACT_AFTER_ARGS= -d ${WRKSRC} +EXTRACT_BEFORE_ARGS= -aqo + +USE_ZIP= yes +MAKEFILE= makefile +ALL_TARGET= aa + +SUB_FILES= pkg-message + +PORTDOCS= read.me readme.404 Readme.FreeBSD +PLIST_FILES= bin/aa etc/aa.ini.default + +post-patch: + @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/kfiles.c + @${REINPLACE_CMD} 's|CFLAGS= -O2|CFLAGS+=|' ${WRKSRC}/makefile + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/aa ${TARGETDIR}/bin + @${INSTALL_DATA} ${WRKSRC}/aa.ini ${TARGETDIR}/etc/aa.ini.default + +post-install: +.if !defined(NOPORTDOCS) + @${CAT} ${PKGMESSAGE} > ${WRKSRC}/Readme.FreeBSD + @${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + @${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + @${CAT} ${PKGMESSAGE} + +.include -- cgit