aboutsummaryrefslogtreecommitdiffstats
path: root/astro/sscalc/Makefile
blob: 80ddf1652b1b2d3a91f1929a12f80b95687ef1a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    sscalc
# Date created:             Wed Nov 29 15:08:00 PST 2000
# Whom:                 Keith Walker <kew@icehouse.net>
#
# $FreeBSD$
#

PORTNAME=   sscalc
PORTVERSION=    1.0
CATEGORIES= astro
MASTER_SITES=   http://www.icehouse.net/kew/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A sunrise/sunset time calculator

MAN1=       sscalc.1

pre-fetch:
.if !defined(LAT)
    @${ECHO_MSG} "Type \"make LAT=<nnn.nn> LON=<nnn.nn>\" to hardwire your site"
.else
    @${ECHO_MSG} "Compiling in lat/longs"
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/sscalc ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/sscalc.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/cities.txt ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>