1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/astro/aa/Makefile
Pav Lucistnik 3a9fc0d7af 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 <frank@dynamical-systems.org>
2006-08-12 21:40:18 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: aa
# Date created: 11 August 2006
# Whom: Frank W. Josellis <frank@dynamical-systems.org>
#
# $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 <bsd.port.mk>